1 | USE [HeuristicLab.OKB]
|
---|
2 | GO
|
---|
3 | /****** Object: Table [dbo].[User] Script Date: 09/12/2010 03:49:12 ******/
|
---|
4 | SET ANSI_NULLS ON
|
---|
5 | GO
|
---|
6 | SET QUOTED_IDENTIFIER ON
|
---|
7 | GO
|
---|
8 | CREATE TABLE [dbo].[User](
|
---|
9 | [Id] [uniqueidentifier] NOT NULL,
|
---|
10 | [Name] [nvarchar](200) NOT NULL,
|
---|
11 | CONSTRAINT [PK_User_Id] PRIMARY KEY CLUSTERED
|
---|
12 | (
|
---|
13 | [Id] ASC
|
---|
14 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
15 | ) ON [PRIMARY]
|
---|
16 | GO
|
---|
17 | /****** Object: Table [dbo].[SolutionRepresentation] Script Date: 09/12/2010 03:49:12 ******/
|
---|
18 | SET ANSI_NULLS ON
|
---|
19 | GO
|
---|
20 | SET QUOTED_IDENTIFIER ON
|
---|
21 | GO
|
---|
22 | CREATE TABLE [dbo].[SolutionRepresentation](
|
---|
23 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
24 | [Name] [nvarchar](200) NOT NULL,
|
---|
25 | [Description] [nvarchar](max) NULL,
|
---|
26 | CONSTRAINT [PK_SolutionRepresentation_Id] PRIMARY KEY CLUSTERED
|
---|
27 | (
|
---|
28 | [Id] ASC
|
---|
29 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
30 | CONSTRAINT [UQ_SolutionRepresentation_Name] UNIQUE NONCLUSTERED
|
---|
31 | (
|
---|
32 | [Name] ASC
|
---|
33 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
34 | ) ON [PRIMARY]
|
---|
35 | GO
|
---|
36 | /****** Object: Table [dbo].[ProblemClass] Script Date: 09/12/2010 03:49:12 ******/
|
---|
37 | SET ANSI_NULLS ON
|
---|
38 | GO
|
---|
39 | SET QUOTED_IDENTIFIER ON
|
---|
40 | GO
|
---|
41 | CREATE TABLE [dbo].[ProblemClass](
|
---|
42 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
43 | [Name] [nvarchar](200) NOT NULL,
|
---|
44 | [Description] [nvarchar](max) NULL,
|
---|
45 | CONSTRAINT [PK_ProblemClass_Id] PRIMARY KEY CLUSTERED
|
---|
46 | (
|
---|
47 | [Id] ASC
|
---|
48 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
49 | CONSTRAINT [UQ_ProblemClass_Name] UNIQUE NONCLUSTERED
|
---|
50 | (
|
---|
51 | [Name] ASC
|
---|
52 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
53 | ) ON [PRIMARY]
|
---|
54 | GO
|
---|
55 | /****** Object: Table [dbo].[Platform] Script Date: 09/12/2010 03:49:12 ******/
|
---|
56 | SET ANSI_NULLS ON
|
---|
57 | GO
|
---|
58 | SET QUOTED_IDENTIFIER ON
|
---|
59 | GO
|
---|
60 | CREATE TABLE [dbo].[Platform](
|
---|
61 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
62 | [Name] [nvarchar](200) NOT NULL,
|
---|
63 | [Description] [nvarchar](max) NULL,
|
---|
64 | CONSTRAINT [PK_Platform_Id] PRIMARY KEY CLUSTERED
|
---|
65 | (
|
---|
66 | [Id] ASC
|
---|
67 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
68 | CONSTRAINT [UQ_Platform_Name] UNIQUE NONCLUSTERED
|
---|
69 | (
|
---|
70 | [Name] ASC
|
---|
71 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
72 | ) ON [PRIMARY]
|
---|
73 | GO
|
---|
74 | SET IDENTITY_INSERT [dbo].[Platform] ON
|
---|
75 | INSERT [dbo].[Platform] ([Id], [Name], [Description]) VALUES (1, N'HL 2.5', N'HeuristicLab 2.5')
|
---|
76 | INSERT [dbo].[Platform] ([Id], [Name], [Description]) VALUES (2, N'HL 3.3', N'HeuristicLab 3.3')
|
---|
77 | SET IDENTITY_INSERT [dbo].[Platform] OFF
|
---|
78 | /****** Object: Table [dbo].[DataType] Script Date: 09/12/2010 03:49:12 ******/
|
---|
79 | SET ANSI_NULLS ON
|
---|
80 | GO
|
---|
81 | SET QUOTED_IDENTIFIER ON
|
---|
82 | GO
|
---|
83 | CREATE TABLE [dbo].[DataType](
|
---|
84 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
85 | [SqlName] [nvarchar](200) NOT NULL,
|
---|
86 | [ClrName] [nvarchar](max) NOT NULL,
|
---|
87 | CONSTRAINT [PK_DataType_Id] PRIMARY KEY CLUSTERED
|
---|
88 | (
|
---|
89 | [Id] ASC
|
---|
90 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
91 | ) ON [PRIMARY]
|
---|
92 | GO
|
---|
93 | SET IDENTITY_INSERT [dbo].[DataType] ON
|
---|
94 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (1, N'Int', N'System.Int32')
|
---|
95 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (2, N'Float', N'System.Double')
|
---|
96 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (3, N'Char', N'System.String')
|
---|
97 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (4, N'Blob', N'System.Object')
|
---|
98 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (5, N'BLOB', N'IOperator')
|
---|
99 | INSERT [dbo].[DataType] ([Id], [SqlName], [ClrName]) VALUES (6, N'Bit', N'System.Boolean')
|
---|
100 | SET IDENTITY_INSERT [dbo].[DataType] OFF
|
---|
101 | /****** Object: Table [dbo].[Client] Script Date: 09/12/2010 03:49:12 ******/
|
---|
102 | SET ANSI_NULLS ON
|
---|
103 | GO
|
---|
104 | SET QUOTED_IDENTIFIER ON
|
---|
105 | GO
|
---|
106 | CREATE TABLE [dbo].[Client](
|
---|
107 | [Id] [uniqueidentifier] NOT NULL,
|
---|
108 | [Name] [nvarchar](200) NOT NULL,
|
---|
109 | CONSTRAINT [PK_Client_Id] PRIMARY KEY CLUSTERED
|
---|
110 | (
|
---|
111 | [Id] ASC
|
---|
112 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
113 | ) ON [PRIMARY]
|
---|
114 | GO
|
---|
115 | /****** Object: Table [dbo].[AlgorithmClass] Script Date: 09/12/2010 03:49:12 ******/
|
---|
116 | SET ANSI_NULLS ON
|
---|
117 | GO
|
---|
118 | SET QUOTED_IDENTIFIER ON
|
---|
119 | GO
|
---|
120 | CREATE TABLE [dbo].[AlgorithmClass](
|
---|
121 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
122 | [Name] [nvarchar](200) NOT NULL,
|
---|
123 | [Description] [nvarchar](max) NULL,
|
---|
124 | CONSTRAINT [PK_AlgorithmClass_Id] PRIMARY KEY CLUSTERED
|
---|
125 | (
|
---|
126 | [Id] ASC
|
---|
127 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
128 | CONSTRAINT [UQ_AlgorithmClass_Name] UNIQUE NONCLUSTERED
|
---|
129 | (
|
---|
130 | [Name] ASC
|
---|
131 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
132 | ) ON [PRIMARY]
|
---|
133 | GO
|
---|
134 | /****** Object: Table [dbo].[Algorithm] Script Date: 09/12/2010 03:49:12 ******/
|
---|
135 | SET ANSI_NULLS ON
|
---|
136 | GO
|
---|
137 | SET QUOTED_IDENTIFIER ON
|
---|
138 | GO
|
---|
139 | CREATE TABLE [dbo].[Algorithm](
|
---|
140 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
141 | [AlgorithmClassId] [bigint] NOT NULL,
|
---|
142 | [PlatformId] [bigint] NOT NULL,
|
---|
143 | [Name] [nvarchar](200) NOT NULL,
|
---|
144 | [Description] [nvarchar](max) NULL,
|
---|
145 | CONSTRAINT [PK_Algorithm_Id] PRIMARY KEY CLUSTERED
|
---|
146 | (
|
---|
147 | [Id] ASC
|
---|
148 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
149 | CONSTRAINT [UQ_Algorithm_Name_PlattformId] UNIQUE NONCLUSTERED
|
---|
150 | (
|
---|
151 | [Name] ASC,
|
---|
152 | [PlatformId] ASC
|
---|
153 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
154 | ) ON [PRIMARY]
|
---|
155 | GO
|
---|
156 | /****** Object: Table [dbo].[ProblemCharacteristic] Script Date: 09/12/2010 03:49:12 ******/
|
---|
157 | SET ANSI_NULLS ON
|
---|
158 | GO
|
---|
159 | SET QUOTED_IDENTIFIER ON
|
---|
160 | GO
|
---|
161 | CREATE TABLE [dbo].[ProblemCharacteristic](
|
---|
162 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
163 | [Name] [nvarchar](200) NOT NULL,
|
---|
164 | [Description] [nvarchar](max) NULL,
|
---|
165 | [DataTypeId] [bigint] NOT NULL,
|
---|
166 | CONSTRAINT [PK_ProblemCharacteristic_Id] PRIMARY KEY CLUSTERED
|
---|
167 | (
|
---|
168 | [Id] ASC
|
---|
169 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
170 | CONSTRAINT [UQ_ProblemCharacteristic_Name] UNIQUE NONCLUSTERED
|
---|
171 | (
|
---|
172 | [Name] ASC
|
---|
173 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
174 | ) ON [PRIMARY]
|
---|
175 | GO
|
---|
176 | /****** Object: Table [dbo].[Problem] Script Date: 09/12/2010 03:49:12 ******/
|
---|
177 | SET ANSI_NULLS ON
|
---|
178 | GO
|
---|
179 | SET QUOTED_IDENTIFIER ON
|
---|
180 | GO
|
---|
181 | CREATE TABLE [dbo].[Problem](
|
---|
182 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
183 | [ProblemClassId] [bigint] NOT NULL,
|
---|
184 | [PlatformId] [bigint] NOT NULL,
|
---|
185 | [SolutionRepresentationId] [bigint] NOT NULL,
|
---|
186 | [Name] [nvarchar](200) NOT NULL,
|
---|
187 | [Description] [nvarchar](max) NULL,
|
---|
188 | CONSTRAINT [PK_Problem_Id] PRIMARY KEY CLUSTERED
|
---|
189 | (
|
---|
190 | [Id] ASC
|
---|
191 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
192 | CONSTRAINT [UQ_Problem_Name_PlattformId] UNIQUE NONCLUSTERED
|
---|
193 | (
|
---|
194 | [Name] ASC,
|
---|
195 | [PlatformId] ASC
|
---|
196 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
197 | ) ON [PRIMARY]
|
---|
198 | GO
|
---|
199 | /****** Object: Table [dbo].[ProblemParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
200 | SET ANSI_NULLS ON
|
---|
201 | GO
|
---|
202 | SET QUOTED_IDENTIFIER ON
|
---|
203 | GO
|
---|
204 | CREATE TABLE [dbo].[ProblemParameter](
|
---|
205 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
206 | [ProblemId] [bigint] NOT NULL,
|
---|
207 | [Name] [nvarchar](200) NOT NULL,
|
---|
208 | [Alias] [nvarchar](200) NULL,
|
---|
209 | [Description] [nvarchar](max) NULL,
|
---|
210 | [DataTypeId] [bigint] NOT NULL,
|
---|
211 | CONSTRAINT [PK_ProblemParameter_Id] PRIMARY KEY CLUSTERED
|
---|
212 | (
|
---|
213 | [Id] ASC
|
---|
214 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
215 | CONSTRAINT [UQ_ProblemParameter_Name_ProblemId] UNIQUE NONCLUSTERED
|
---|
216 | (
|
---|
217 | [Name] ASC,
|
---|
218 | [ProblemId] ASC
|
---|
219 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
220 | ) ON [PRIMARY]
|
---|
221 | GO
|
---|
222 | /****** Object: Table [dbo].[ProblemData] Script Date: 09/12/2010 03:49:12 ******/
|
---|
223 | SET ANSI_NULLS ON
|
---|
224 | GO
|
---|
225 | SET QUOTED_IDENTIFIER ON
|
---|
226 | GO
|
---|
227 | SET ANSI_PADDING ON
|
---|
228 | GO
|
---|
229 | CREATE TABLE [dbo].[ProblemData](
|
---|
230 | [ProblemId] [bigint] NOT NULL,
|
---|
231 | [Data] [varbinary](max) NOT NULL,
|
---|
232 | CONSTRAINT [PK_ProblemData_ProblemId] PRIMARY KEY CLUSTERED
|
---|
233 | (
|
---|
234 | [ProblemId] ASC
|
---|
235 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
236 | ) ON [PRIMARY]
|
---|
237 | GO
|
---|
238 | SET ANSI_PADDING OFF
|
---|
239 | GO
|
---|
240 | /****** Object: Table [dbo].[ProblemCharacteristicStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
241 | SET ANSI_NULLS ON
|
---|
242 | GO
|
---|
243 | SET QUOTED_IDENTIFIER ON
|
---|
244 | GO
|
---|
245 | CREATE TABLE [dbo].[ProblemCharacteristicStringValue](
|
---|
246 | [ProblemCharacteristicId] [bigint] NOT NULL,
|
---|
247 | [ProblemId] [bigint] NOT NULL,
|
---|
248 | [Value] [nvarchar](max) NOT NULL,
|
---|
249 | CONSTRAINT [PK_ProblemCharacteristicStringValue_ProblemCharacteristicId_ProblemId] PRIMARY KEY CLUSTERED
|
---|
250 | (
|
---|
251 | [ProblemCharacteristicId] ASC,
|
---|
252 | [ProblemId] ASC
|
---|
253 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
254 | ) ON [PRIMARY]
|
---|
255 | GO
|
---|
256 | /****** Object: Table [dbo].[ProblemCharacteristicIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
257 | SET ANSI_NULLS ON
|
---|
258 | GO
|
---|
259 | SET QUOTED_IDENTIFIER ON
|
---|
260 | GO
|
---|
261 | CREATE TABLE [dbo].[ProblemCharacteristicIntValue](
|
---|
262 | [ProblemCharacteristicId] [bigint] NOT NULL,
|
---|
263 | [ProblemId] [bigint] NOT NULL,
|
---|
264 | [Value] [int] NOT NULL,
|
---|
265 | CONSTRAINT [PK_ProblemCharacteristicIntValue_ProblemCharacteristicId_ProblemId] PRIMARY KEY CLUSTERED
|
---|
266 | (
|
---|
267 | [ProblemCharacteristicId] ASC,
|
---|
268 | [ProblemId] ASC
|
---|
269 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
270 | ) ON [PRIMARY]
|
---|
271 | GO
|
---|
272 | /****** Object: Table [dbo].[ProblemCharacteristicFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
273 | SET ANSI_NULLS ON
|
---|
274 | GO
|
---|
275 | SET QUOTED_IDENTIFIER ON
|
---|
276 | GO
|
---|
277 | CREATE TABLE [dbo].[ProblemCharacteristicFloatValue](
|
---|
278 | [ProblemCharacteristicId] [bigint] NOT NULL,
|
---|
279 | [ProblemId] [bigint] NOT NULL,
|
---|
280 | [Value] [float] NOT NULL,
|
---|
281 | CONSTRAINT [PK_ProblemCharacteristicFloatValue_ProblemCharacteristicId_ProblemId] PRIMARY KEY CLUSTERED
|
---|
282 | (
|
---|
283 | [ProblemCharacteristicId] ASC,
|
---|
284 | [ProblemId] ASC
|
---|
285 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
286 | ) ON [PRIMARY]
|
---|
287 | GO
|
---|
288 | /****** Object: Table [dbo].[AlgorithmParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
289 | SET ANSI_NULLS ON
|
---|
290 | GO
|
---|
291 | SET QUOTED_IDENTIFIER ON
|
---|
292 | GO
|
---|
293 | CREATE TABLE [dbo].[AlgorithmParameter](
|
---|
294 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
295 | [AlgorithmId] [bigint] NOT NULL,
|
---|
296 | [Name] [nvarchar](200) NOT NULL,
|
---|
297 | [Alias] [nvarchar](200) NULL,
|
---|
298 | [Description] [nvarchar](max) NULL,
|
---|
299 | [DataTypeId] [bigint] NOT NULL,
|
---|
300 | CONSTRAINT [PK_AlgorithmParameter_Id] PRIMARY KEY CLUSTERED
|
---|
301 | (
|
---|
302 | [Id] ASC
|
---|
303 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
304 | CONSTRAINT [UQ_AlgorithmParameter_Name_AlgorithmId] UNIQUE NONCLUSTERED
|
---|
305 | (
|
---|
306 | [Name] ASC,
|
---|
307 | [AlgorithmId] ASC
|
---|
308 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
309 | ) ON [PRIMARY]
|
---|
310 | GO
|
---|
311 | /****** Object: Table [dbo].[AlgorithmData] Script Date: 09/12/2010 03:49:12 ******/
|
---|
312 | SET ANSI_NULLS ON
|
---|
313 | GO
|
---|
314 | SET QUOTED_IDENTIFIER ON
|
---|
315 | GO
|
---|
316 | SET ANSI_PADDING ON
|
---|
317 | GO
|
---|
318 | CREATE TABLE [dbo].[AlgorithmData](
|
---|
319 | [AlgorithmId] [bigint] NOT NULL,
|
---|
320 | [Data] [varbinary](max) NOT NULL,
|
---|
321 | CONSTRAINT [PK_AlgorithmData_AlgorithmId] PRIMARY KEY CLUSTERED
|
---|
322 | (
|
---|
323 | [AlgorithmId] ASC
|
---|
324 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
325 | ) ON [PRIMARY]
|
---|
326 | GO
|
---|
327 | SET ANSI_PADDING OFF
|
---|
328 | GO
|
---|
329 | /****** Object: Table [dbo].[Result] Script Date: 09/12/2010 03:49:12 ******/
|
---|
330 | SET ANSI_NULLS ON
|
---|
331 | GO
|
---|
332 | SET QUOTED_IDENTIFIER ON
|
---|
333 | GO
|
---|
334 | CREATE TABLE [dbo].[Result](
|
---|
335 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
336 | [AlgorithmId] [bigint] NOT NULL,
|
---|
337 | [Name] [nvarchar](200) NOT NULL,
|
---|
338 | [Alias] [nvarchar](200) NULL,
|
---|
339 | [Description] [nvarchar](max) NULL,
|
---|
340 | [DataTypeId] [bigint] NOT NULL,
|
---|
341 | CONSTRAINT [PK_Result_Id] PRIMARY KEY CLUSTERED
|
---|
342 | (
|
---|
343 | [Id] ASC
|
---|
344 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
|
---|
345 | CONSTRAINT [UQ_Result_Name_AlgorithmId] UNIQUE NONCLUSTERED
|
---|
346 | (
|
---|
347 | [Name] ASC,
|
---|
348 | [AlgorithmId] ASC
|
---|
349 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
350 | ) ON [PRIMARY]
|
---|
351 | GO
|
---|
352 | /****** Object: Table [dbo].[ProblemUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
353 | SET ANSI_NULLS ON
|
---|
354 | GO
|
---|
355 | SET QUOTED_IDENTIFIER ON
|
---|
356 | GO
|
---|
357 | CREATE TABLE [dbo].[ProblemUser](
|
---|
358 | [ProblemId] [bigint] NOT NULL,
|
---|
359 | [UserId] [uniqueidentifier] NOT NULL,
|
---|
360 | CONSTRAINT [PK_ProblemUser_ProblemId_UserId] PRIMARY KEY CLUSTERED
|
---|
361 | (
|
---|
362 | [ProblemId] ASC,
|
---|
363 | [UserId] ASC
|
---|
364 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
365 | ) ON [PRIMARY]
|
---|
366 | GO
|
---|
367 | /****** Object: Table [dbo].[Experiment] Script Date: 09/12/2010 03:49:12 ******/
|
---|
368 | SET ANSI_NULLS ON
|
---|
369 | GO
|
---|
370 | SET QUOTED_IDENTIFIER ON
|
---|
371 | GO
|
---|
372 | CREATE TABLE [dbo].[Experiment](
|
---|
373 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
374 | [AlgorithmId] [bigint] NOT NULL,
|
---|
375 | [ProblemId] [bigint] NOT NULL,
|
---|
376 | CONSTRAINT [PK_Experiment_Id] PRIMARY KEY CLUSTERED
|
---|
377 | (
|
---|
378 | [Id] ASC
|
---|
379 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
380 | ) ON [PRIMARY]
|
---|
381 | GO
|
---|
382 | CREATE NONCLUSTERED INDEX [IX_Experiment_AlgorithmId_ProblemId] ON [dbo].[Experiment]
|
---|
383 | (
|
---|
384 | [AlgorithmId] ASC,
|
---|
385 | [ProblemId] ASC
|
---|
386 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
387 | GO
|
---|
388 | /****** Object: Table [dbo].[AlgorithmUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
389 | SET ANSI_NULLS ON
|
---|
390 | GO
|
---|
391 | SET QUOTED_IDENTIFIER ON
|
---|
392 | GO
|
---|
393 | CREATE TABLE [dbo].[AlgorithmUser](
|
---|
394 | [AlgorithmId] [bigint] NOT NULL,
|
---|
395 | [UserId] [uniqueidentifier] NOT NULL,
|
---|
396 | CONSTRAINT [PK_AlgorithmUser_AlgorithmId_UserId] PRIMARY KEY CLUSTERED
|
---|
397 | (
|
---|
398 | [AlgorithmId] ASC,
|
---|
399 | [UserId] ASC
|
---|
400 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
401 | ) ON [PRIMARY]
|
---|
402 | GO
|
---|
403 | /****** Object: Table [dbo].[AlgorithmParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
404 | SET ANSI_NULLS ON
|
---|
405 | GO
|
---|
406 | SET QUOTED_IDENTIFIER ON
|
---|
407 | GO
|
---|
408 | CREATE TABLE [dbo].[AlgorithmParameterStringValue](
|
---|
409 | [AlgorithmParameterId] [bigint] NOT NULL,
|
---|
410 | [ExperimentId] [bigint] NOT NULL,
|
---|
411 | [Value] [nvarchar](max) NOT NULL,
|
---|
412 | CONSTRAINT [PK_AlgorithmParameterStringValue_ParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
413 | (
|
---|
414 | [AlgorithmParameterId] ASC,
|
---|
415 | [ExperimentId] ASC
|
---|
416 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
417 | ) ON [PRIMARY]
|
---|
418 | GO
|
---|
419 | /****** Object: Table [dbo].[AlgorithmParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
420 | SET ANSI_NULLS ON
|
---|
421 | GO
|
---|
422 | SET QUOTED_IDENTIFIER ON
|
---|
423 | GO
|
---|
424 | CREATE TABLE [dbo].[AlgorithmParameterIntValue](
|
---|
425 | [AlgorithmParameterId] [bigint] NOT NULL,
|
---|
426 | [ExperimentId] [bigint] NOT NULL,
|
---|
427 | [Value] [int] NOT NULL,
|
---|
428 | CONSTRAINT [PK_AlgorithmParameterIntValue_AlgorithmParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
429 | (
|
---|
430 | [AlgorithmParameterId] ASC,
|
---|
431 | [ExperimentId] ASC
|
---|
432 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
433 | ) ON [PRIMARY]
|
---|
434 | GO
|
---|
435 | /****** Object: Table [dbo].[AlgorithmParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
436 | SET ANSI_NULLS ON
|
---|
437 | GO
|
---|
438 | SET QUOTED_IDENTIFIER ON
|
---|
439 | GO
|
---|
440 | CREATE TABLE [dbo].[AlgorithmParameterFloatValue](
|
---|
441 | [AlgorithmParameterId] [bigint] NOT NULL,
|
---|
442 | [ExperimentId] [bigint] NOT NULL,
|
---|
443 | [Value] [float] NOT NULL,
|
---|
444 | CONSTRAINT [PK_AlgorithmParameterFloatValue_AlgorithmParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
445 | (
|
---|
446 | [AlgorithmParameterId] ASC,
|
---|
447 | [ExperimentId] ASC
|
---|
448 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
449 | ) ON [PRIMARY]
|
---|
450 | GO
|
---|
451 | /****** Object: Table [dbo].[AlgorithmParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
452 | SET ANSI_NULLS ON
|
---|
453 | GO
|
---|
454 | SET QUOTED_IDENTIFIER ON
|
---|
455 | GO
|
---|
456 | CREATE TABLE [dbo].[AlgorithmParameterBoolValue](
|
---|
457 | [AlgorithmParameterId] [bigint] NOT NULL,
|
---|
458 | [ExperimentId] [bigint] NOT NULL,
|
---|
459 | [Value] [bit] NOT NULL,
|
---|
460 | CONSTRAINT [PK_AlgorithmParameterBoolValue_AlgorithmParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
461 | (
|
---|
462 | [AlgorithmParameterId] ASC,
|
---|
463 | [ExperimentId] ASC
|
---|
464 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
465 | ) ON [PRIMARY]
|
---|
466 | GO
|
---|
467 | /****** Object: Table [dbo].[AlgorithmParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
468 | SET ANSI_NULLS ON
|
---|
469 | GO
|
---|
470 | SET QUOTED_IDENTIFIER ON
|
---|
471 | GO
|
---|
472 | SET ANSI_PADDING ON
|
---|
473 | GO
|
---|
474 | CREATE TABLE [dbo].[AlgorithmParameterBlobValue](
|
---|
475 | [AlgorithmParameterId] [bigint] NOT NULL,
|
---|
476 | [ExperimentId] [bigint] NOT NULL,
|
---|
477 | [Value] [varbinary](max) NOT NULL,
|
---|
478 | CONSTRAINT [PK_AlgorithmParameterBlobValue_AlgorithmParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
479 | (
|
---|
480 | [AlgorithmParameterId] ASC,
|
---|
481 | [ExperimentId] ASC
|
---|
482 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
483 | ) ON [PRIMARY]
|
---|
484 | GO
|
---|
485 | SET ANSI_PADDING OFF
|
---|
486 | GO
|
---|
487 | /****** Object: Table [dbo].[ProblemParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
488 | SET ANSI_NULLS ON
|
---|
489 | GO
|
---|
490 | SET QUOTED_IDENTIFIER ON
|
---|
491 | GO
|
---|
492 | CREATE TABLE [dbo].[ProblemParameterStringValue](
|
---|
493 | [ProblemParameterId] [bigint] NOT NULL,
|
---|
494 | [ExperimentId] [bigint] NOT NULL,
|
---|
495 | [Value] [nvarchar](max) NOT NULL,
|
---|
496 | CONSTRAINT [PK_ProblemParameterStringValue_ProblemParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
497 | (
|
---|
498 | [ProblemParameterId] ASC,
|
---|
499 | [ExperimentId] ASC
|
---|
500 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
501 | ) ON [PRIMARY]
|
---|
502 | GO
|
---|
503 | /****** Object: Table [dbo].[ProblemParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
504 | SET ANSI_NULLS ON
|
---|
505 | GO
|
---|
506 | SET QUOTED_IDENTIFIER ON
|
---|
507 | GO
|
---|
508 | CREATE TABLE [dbo].[ProblemParameterIntValue](
|
---|
509 | [ProblemParameterId] [bigint] NOT NULL,
|
---|
510 | [ExperimentId] [bigint] NOT NULL,
|
---|
511 | [Value] [int] NOT NULL,
|
---|
512 | CONSTRAINT [PK_ProblemParameterIntValue_ProblemParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
513 | (
|
---|
514 | [ProblemParameterId] ASC,
|
---|
515 | [ExperimentId] ASC
|
---|
516 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
517 | ) ON [PRIMARY]
|
---|
518 | GO
|
---|
519 | /****** Object: Table [dbo].[ProblemParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
520 | SET ANSI_NULLS ON
|
---|
521 | GO
|
---|
522 | SET QUOTED_IDENTIFIER ON
|
---|
523 | GO
|
---|
524 | CREATE TABLE [dbo].[ProblemParameterFloatValue](
|
---|
525 | [ProblemParameterId] [bigint] NOT NULL,
|
---|
526 | [ExperimentId] [bigint] NOT NULL,
|
---|
527 | [Value] [float] NOT NULL,
|
---|
528 | CONSTRAINT [PK_ProblemParameterFloatValue_ProblemParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
529 | (
|
---|
530 | [ProblemParameterId] ASC,
|
---|
531 | [ExperimentId] ASC
|
---|
532 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
533 | ) ON [PRIMARY]
|
---|
534 | GO
|
---|
535 | /****** Object: Table [dbo].[ProblemParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
536 | SET ANSI_NULLS ON
|
---|
537 | GO
|
---|
538 | SET QUOTED_IDENTIFIER ON
|
---|
539 | GO
|
---|
540 | CREATE TABLE [dbo].[ProblemParameterBoolValue](
|
---|
541 | [ProblemParameterId] [bigint] NOT NULL,
|
---|
542 | [ExperimentId] [bigint] NOT NULL,
|
---|
543 | [Value] [bit] NOT NULL,
|
---|
544 | CONSTRAINT [PK_ProblemParameterBoolValue_ProblemParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
545 | (
|
---|
546 | [ProblemParameterId] ASC,
|
---|
547 | [ExperimentId] ASC
|
---|
548 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
549 | ) ON [PRIMARY]
|
---|
550 | GO
|
---|
551 | /****** Object: Table [dbo].[ProblemParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
552 | SET ANSI_NULLS ON
|
---|
553 | GO
|
---|
554 | SET QUOTED_IDENTIFIER ON
|
---|
555 | GO
|
---|
556 | SET ANSI_PADDING ON
|
---|
557 | GO
|
---|
558 | CREATE TABLE [dbo].[ProblemParameterBlobValue](
|
---|
559 | [ProblemParameterId] [bigint] NOT NULL,
|
---|
560 | [ExperimentId] [bigint] NOT NULL,
|
---|
561 | [Value] [varbinary](max) NOT NULL,
|
---|
562 | CONSTRAINT [PK_ProblemParameterBlobValue_ProblemParameterId_ExperimentId] PRIMARY KEY CLUSTERED
|
---|
563 | (
|
---|
564 | [ProblemParameterId] ASC,
|
---|
565 | [ExperimentId] ASC
|
---|
566 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
567 | ) ON [PRIMARY]
|
---|
568 | GO
|
---|
569 | SET ANSI_PADDING OFF
|
---|
570 | GO
|
---|
571 | /****** Object: Table [dbo].[Run] Script Date: 09/12/2010 03:49:12 ******/
|
---|
572 | SET ANSI_NULLS ON
|
---|
573 | GO
|
---|
574 | SET QUOTED_IDENTIFIER ON
|
---|
575 | GO
|
---|
576 | CREATE TABLE [dbo].[Run](
|
---|
577 | [Id] [bigint] IDENTITY(1,1) NOT NULL,
|
---|
578 | [ExperimentId] [bigint] NOT NULL,
|
---|
579 | [RandomSeed] [int] NOT NULL,
|
---|
580 | [FinishedDate] [datetime2](7) NULL,
|
---|
581 | [UserId] [uniqueidentifier] NOT NULL,
|
---|
582 | [ClientId] [uniqueidentifier] NOT NULL,
|
---|
583 | CONSTRAINT [PK_Run_Id] PRIMARY KEY CLUSTERED
|
---|
584 | (
|
---|
585 | [Id] ASC
|
---|
586 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
587 | ) ON [PRIMARY]
|
---|
588 | GO
|
---|
589 | CREATE NONCLUSTERED INDEX [IX_Run_ExperimentId] ON [dbo].[Run]
|
---|
590 | (
|
---|
591 | [ExperimentId] ASC
|
---|
592 | )
|
---|
593 | INCLUDE ( [Id],
|
---|
594 | [FinishedDate],
|
---|
595 | [UserId],
|
---|
596 | [ClientId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
597 | GO
|
---|
598 | /****** Object: Table [dbo].[ResultStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
599 | SET ANSI_NULLS ON
|
---|
600 | GO
|
---|
601 | SET QUOTED_IDENTIFIER ON
|
---|
602 | GO
|
---|
603 | CREATE TABLE [dbo].[ResultStringValue](
|
---|
604 | [ResultId] [bigint] NOT NULL,
|
---|
605 | [RunId] [bigint] NOT NULL,
|
---|
606 | [Value] [nvarchar](max) NOT NULL,
|
---|
607 | CONSTRAINT [PK_ResultStringValue_ResultId_RunId] PRIMARY KEY CLUSTERED
|
---|
608 | (
|
---|
609 | [ResultId] ASC,
|
---|
610 | [RunId] ASC
|
---|
611 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
612 | ) ON [PRIMARY]
|
---|
613 | GO
|
---|
614 | /****** Object: Table [dbo].[ResultIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
615 | SET ANSI_NULLS ON
|
---|
616 | GO
|
---|
617 | SET QUOTED_IDENTIFIER ON
|
---|
618 | GO
|
---|
619 | CREATE TABLE [dbo].[ResultIntValue](
|
---|
620 | [ResultId] [bigint] NOT NULL,
|
---|
621 | [RunId] [bigint] NOT NULL,
|
---|
622 | [Value] [int] NOT NULL,
|
---|
623 | CONSTRAINT [PK_ResultIntValue_ResultId_RunId] PRIMARY KEY CLUSTERED
|
---|
624 | (
|
---|
625 | [ResultId] ASC,
|
---|
626 | [RunId] ASC
|
---|
627 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
628 | ) ON [PRIMARY]
|
---|
629 | GO
|
---|
630 | /****** Object: Table [dbo].[ResultFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
631 | SET ANSI_NULLS ON
|
---|
632 | GO
|
---|
633 | SET QUOTED_IDENTIFIER ON
|
---|
634 | GO
|
---|
635 | CREATE TABLE [dbo].[ResultFloatValue](
|
---|
636 | [ResultId] [bigint] NOT NULL,
|
---|
637 | [RunId] [bigint] NOT NULL,
|
---|
638 | [Value] [float] NOT NULL,
|
---|
639 | CONSTRAINT [PK_ResultFloatValue_ResultId_RunId] PRIMARY KEY CLUSTERED
|
---|
640 | (
|
---|
641 | [ResultId] ASC,
|
---|
642 | [RunId] ASC
|
---|
643 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
644 | ) ON [PRIMARY]
|
---|
645 | GO
|
---|
646 | /****** Object: Table [dbo].[ResultBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
647 | SET ANSI_NULLS ON
|
---|
648 | GO
|
---|
649 | SET QUOTED_IDENTIFIER ON
|
---|
650 | GO
|
---|
651 | CREATE TABLE [dbo].[ResultBoolValue](
|
---|
652 | [ResultId] [bigint] NOT NULL,
|
---|
653 | [RunId] [bigint] NOT NULL,
|
---|
654 | [Value] [bit] NOT NULL,
|
---|
655 | CONSTRAINT [PK_ResultBoolValue_ResultId_RunId] PRIMARY KEY CLUSTERED
|
---|
656 | (
|
---|
657 | [ResultId] ASC,
|
---|
658 | [RunId] ASC
|
---|
659 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
660 | ) ON [PRIMARY]
|
---|
661 | GO
|
---|
662 | /****** Object: Table [dbo].[ResultBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
663 | SET ANSI_NULLS ON
|
---|
664 | GO
|
---|
665 | SET QUOTED_IDENTIFIER ON
|
---|
666 | GO
|
---|
667 | SET ANSI_PADDING ON
|
---|
668 | GO
|
---|
669 | CREATE TABLE [dbo].[ResultBlobValue](
|
---|
670 | [ResultId] [bigint] NOT NULL,
|
---|
671 | [RunId] [bigint] NOT NULL,
|
---|
672 | [Value] [varbinary](max) NOT NULL,
|
---|
673 | CONSTRAINT [PK_ResultBlobValue_ResultId_RunId] PRIMARY KEY CLUSTERED
|
---|
674 | (
|
---|
675 | [ResultId] ASC,
|
---|
676 | [RunId] ASC
|
---|
677 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
---|
678 | ) ON [PRIMARY]
|
---|
679 | GO
|
---|
680 | SET ANSI_PADDING OFF
|
---|
681 | GO
|
---|
682 | /****** Object: ForeignKey [FK_AlgorithmClass_Algorithm] Script Date: 09/12/2010 03:49:12 ******/
|
---|
683 | ALTER TABLE [dbo].[Algorithm] WITH CHECK ADD CONSTRAINT [FK_AlgorithmClass_Algorithm] FOREIGN KEY([AlgorithmClassId])
|
---|
684 | REFERENCES [dbo].[AlgorithmClass] ([Id])
|
---|
685 | GO
|
---|
686 | ALTER TABLE [dbo].[Algorithm] CHECK CONSTRAINT [FK_AlgorithmClass_Algorithm]
|
---|
687 | GO
|
---|
688 | /****** Object: ForeignKey [FK_Platform_Algorithm] Script Date: 09/12/2010 03:49:12 ******/
|
---|
689 | ALTER TABLE [dbo].[Algorithm] WITH CHECK ADD CONSTRAINT [FK_Platform_Algorithm] FOREIGN KEY([PlatformId])
|
---|
690 | REFERENCES [dbo].[Platform] ([Id])
|
---|
691 | GO
|
---|
692 | ALTER TABLE [dbo].[Algorithm] CHECK CONSTRAINT [FK_Platform_Algorithm]
|
---|
693 | GO
|
---|
694 | /****** Object: ForeignKey [FK_Algorithm_AlgorithmData] Script Date: 09/12/2010 03:49:12 ******/
|
---|
695 | ALTER TABLE [dbo].[AlgorithmData] WITH CHECK ADD CONSTRAINT [FK_Algorithm_AlgorithmData] FOREIGN KEY([AlgorithmId])
|
---|
696 | REFERENCES [dbo].[Algorithm] ([Id])
|
---|
697 | GO
|
---|
698 | ALTER TABLE [dbo].[AlgorithmData] CHECK CONSTRAINT [FK_Algorithm_AlgorithmData]
|
---|
699 | GO
|
---|
700 | /****** Object: ForeignKey [FK_Algorithm_AlgorithmParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
701 | ALTER TABLE [dbo].[AlgorithmParameter] WITH CHECK ADD CONSTRAINT [FK_Algorithm_AlgorithmParameter] FOREIGN KEY([AlgorithmId])
|
---|
702 | REFERENCES [dbo].[Algorithm] ([Id])
|
---|
703 | GO
|
---|
704 | ALTER TABLE [dbo].[AlgorithmParameter] CHECK CONSTRAINT [FK_Algorithm_AlgorithmParameter]
|
---|
705 | GO
|
---|
706 | /****** Object: ForeignKey [FK_DataType_AlgorithmParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
707 | ALTER TABLE [dbo].[AlgorithmParameter] WITH CHECK ADD CONSTRAINT [FK_DataType_AlgorithmParameter] FOREIGN KEY([DataTypeId])
|
---|
708 | REFERENCES [dbo].[DataType] ([Id])
|
---|
709 | GO
|
---|
710 | ALTER TABLE [dbo].[AlgorithmParameter] CHECK CONSTRAINT [FK_DataType_AlgorithmParameter]
|
---|
711 | GO
|
---|
712 | /****** Object: ForeignKey [FK_AlgorithmParameter_AlgorithmParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
713 | ALTER TABLE [dbo].[AlgorithmParameterBlobValue] WITH CHECK ADD CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterBlobValue] FOREIGN KEY([AlgorithmParameterId])
|
---|
714 | REFERENCES [dbo].[AlgorithmParameter] ([Id])
|
---|
715 | GO
|
---|
716 | ALTER TABLE [dbo].[AlgorithmParameterBlobValue] CHECK CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterBlobValue]
|
---|
717 | GO
|
---|
718 | /****** Object: ForeignKey [FK_Experiment_AlgorithmParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
719 | ALTER TABLE [dbo].[AlgorithmParameterBlobValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_AlgorithmParameterBlobValue] FOREIGN KEY([ExperimentId])
|
---|
720 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
721 | GO
|
---|
722 | ALTER TABLE [dbo].[AlgorithmParameterBlobValue] CHECK CONSTRAINT [FK_Experiment_AlgorithmParameterBlobValue]
|
---|
723 | GO
|
---|
724 | /****** Object: ForeignKey [FK_AlgorithmParameter_AlgorithmParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
725 | ALTER TABLE [dbo].[AlgorithmParameterBoolValue] WITH CHECK ADD CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterBoolValue] FOREIGN KEY([AlgorithmParameterId])
|
---|
726 | REFERENCES [dbo].[AlgorithmParameter] ([Id])
|
---|
727 | GO
|
---|
728 | ALTER TABLE [dbo].[AlgorithmParameterBoolValue] CHECK CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterBoolValue]
|
---|
729 | GO
|
---|
730 | /****** Object: ForeignKey [FK_Experiment_AlgorithmParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
731 | ALTER TABLE [dbo].[AlgorithmParameterBoolValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_AlgorithmParameterBoolValue] FOREIGN KEY([ExperimentId])
|
---|
732 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
733 | GO
|
---|
734 | ALTER TABLE [dbo].[AlgorithmParameterBoolValue] CHECK CONSTRAINT [FK_Experiment_AlgorithmParameterBoolValue]
|
---|
735 | GO
|
---|
736 | /****** Object: ForeignKey [FK_AlgorithmParameter_AlgorithmParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
737 | ALTER TABLE [dbo].[AlgorithmParameterFloatValue] WITH CHECK ADD CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterFloatValue] FOREIGN KEY([AlgorithmParameterId])
|
---|
738 | REFERENCES [dbo].[AlgorithmParameter] ([Id])
|
---|
739 | GO
|
---|
740 | ALTER TABLE [dbo].[AlgorithmParameterFloatValue] CHECK CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterFloatValue]
|
---|
741 | GO
|
---|
742 | /****** Object: ForeignKey [FK_Experiment_AlgorithmParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
743 | ALTER TABLE [dbo].[AlgorithmParameterFloatValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_AlgorithmParameterFloatValue] FOREIGN KEY([ExperimentId])
|
---|
744 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
745 | GO
|
---|
746 | ALTER TABLE [dbo].[AlgorithmParameterFloatValue] CHECK CONSTRAINT [FK_Experiment_AlgorithmParameterFloatValue]
|
---|
747 | GO
|
---|
748 | /****** Object: ForeignKey [FK_AlgorithmParameter_AlgorithmParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
749 | ALTER TABLE [dbo].[AlgorithmParameterIntValue] WITH CHECK ADD CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterIntValue] FOREIGN KEY([AlgorithmParameterId])
|
---|
750 | REFERENCES [dbo].[AlgorithmParameter] ([Id])
|
---|
751 | GO
|
---|
752 | ALTER TABLE [dbo].[AlgorithmParameterIntValue] CHECK CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterIntValue]
|
---|
753 | GO
|
---|
754 | /****** Object: ForeignKey [FK_Experiment_AlgorithmParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
755 | ALTER TABLE [dbo].[AlgorithmParameterIntValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_AlgorithmParameterIntValue] FOREIGN KEY([ExperimentId])
|
---|
756 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
757 | GO
|
---|
758 | ALTER TABLE [dbo].[AlgorithmParameterIntValue] CHECK CONSTRAINT [FK_Experiment_AlgorithmParameterIntValue]
|
---|
759 | GO
|
---|
760 | /****** Object: ForeignKey [FK_AlgorithmParameter_AlgorithmParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
761 | ALTER TABLE [dbo].[AlgorithmParameterStringValue] WITH CHECK ADD CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterStringValue] FOREIGN KEY([AlgorithmParameterId])
|
---|
762 | REFERENCES [dbo].[AlgorithmParameter] ([Id])
|
---|
763 | GO
|
---|
764 | ALTER TABLE [dbo].[AlgorithmParameterStringValue] CHECK CONSTRAINT [FK_AlgorithmParameter_AlgorithmParameterStringValue]
|
---|
765 | GO
|
---|
766 | /****** Object: ForeignKey [FK_Experiment_AlgorithmParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
767 | ALTER TABLE [dbo].[AlgorithmParameterStringValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_AlgorithmParameterStringValue] FOREIGN KEY([ExperimentId])
|
---|
768 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
769 | GO
|
---|
770 | ALTER TABLE [dbo].[AlgorithmParameterStringValue] CHECK CONSTRAINT [FK_Experiment_AlgorithmParameterStringValue]
|
---|
771 | GO
|
---|
772 | /****** Object: ForeignKey [FK_Algorithm_AlgorithmUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
773 | ALTER TABLE [dbo].[AlgorithmUser] WITH CHECK ADD CONSTRAINT [FK_Algorithm_AlgorithmUser] FOREIGN KEY([AlgorithmId])
|
---|
774 | REFERENCES [dbo].[Algorithm] ([Id])
|
---|
775 | GO
|
---|
776 | ALTER TABLE [dbo].[AlgorithmUser] CHECK CONSTRAINT [FK_Algorithm_AlgorithmUser]
|
---|
777 | GO
|
---|
778 | /****** Object: ForeignKey [FK_User_AlgorithmUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
779 | ALTER TABLE [dbo].[AlgorithmUser] WITH CHECK ADD CONSTRAINT [FK_User_AlgorithmUser] FOREIGN KEY([UserId])
|
---|
780 | REFERENCES [dbo].[User] ([Id])
|
---|
781 | GO
|
---|
782 | ALTER TABLE [dbo].[AlgorithmUser] CHECK CONSTRAINT [FK_User_AlgorithmUser]
|
---|
783 | GO
|
---|
784 | /****** Object: ForeignKey [FK_Algorithm_Experiment] Script Date: 09/12/2010 03:49:12 ******/
|
---|
785 | ALTER TABLE [dbo].[Experiment] WITH CHECK ADD CONSTRAINT [FK_Algorithm_Experiment] FOREIGN KEY([AlgorithmId])
|
---|
786 | REFERENCES [dbo].[Algorithm] ([Id])
|
---|
787 | GO
|
---|
788 | ALTER TABLE [dbo].[Experiment] CHECK CONSTRAINT [FK_Algorithm_Experiment]
|
---|
789 | GO
|
---|
790 | /****** Object: ForeignKey [FK_Problem_Experiment] Script Date: 09/12/2010 03:49:12 ******/
|
---|
791 | ALTER TABLE [dbo].[Experiment] WITH CHECK ADD CONSTRAINT [FK_Problem_Experiment] FOREIGN KEY([ProblemId])
|
---|
792 | REFERENCES [dbo].[Problem] ([Id])
|
---|
793 | GO
|
---|
794 | ALTER TABLE [dbo].[Experiment] CHECK CONSTRAINT [FK_Problem_Experiment]
|
---|
795 | GO
|
---|
796 | /****** Object: ForeignKey [FK_Platform_Problem] Script Date: 09/12/2010 03:49:12 ******/
|
---|
797 | ALTER TABLE [dbo].[Problem] WITH CHECK ADD CONSTRAINT [FK_Platform_Problem] FOREIGN KEY([PlatformId])
|
---|
798 | REFERENCES [dbo].[Platform] ([Id])
|
---|
799 | GO
|
---|
800 | ALTER TABLE [dbo].[Problem] CHECK CONSTRAINT [FK_Platform_Problem]
|
---|
801 | GO
|
---|
802 | /****** Object: ForeignKey [FK_ProblemClass_Problem] Script Date: 09/12/2010 03:49:12 ******/
|
---|
803 | ALTER TABLE [dbo].[Problem] WITH CHECK ADD CONSTRAINT [FK_ProblemClass_Problem] FOREIGN KEY([ProblemClassId])
|
---|
804 | REFERENCES [dbo].[ProblemClass] ([Id])
|
---|
805 | GO
|
---|
806 | ALTER TABLE [dbo].[Problem] CHECK CONSTRAINT [FK_ProblemClass_Problem]
|
---|
807 | GO
|
---|
808 | /****** Object: ForeignKey [FK_SolutionRepresentation_Problem] Script Date: 09/12/2010 03:49:12 ******/
|
---|
809 | ALTER TABLE [dbo].[Problem] WITH CHECK ADD CONSTRAINT [FK_SolutionRepresentation_Problem] FOREIGN KEY([SolutionRepresentationId])
|
---|
810 | REFERENCES [dbo].[SolutionRepresentation] ([Id])
|
---|
811 | GO
|
---|
812 | ALTER TABLE [dbo].[Problem] CHECK CONSTRAINT [FK_SolutionRepresentation_Problem]
|
---|
813 | GO
|
---|
814 | /****** Object: ForeignKey [FK_DataType_ProblemCharacteristic] Script Date: 09/12/2010 03:49:12 ******/
|
---|
815 | ALTER TABLE [dbo].[ProblemCharacteristic] WITH CHECK ADD CONSTRAINT [FK_DataType_ProblemCharacteristic] FOREIGN KEY([DataTypeId])
|
---|
816 | REFERENCES [dbo].[DataType] ([Id])
|
---|
817 | GO
|
---|
818 | ALTER TABLE [dbo].[ProblemCharacteristic] CHECK CONSTRAINT [FK_DataType_ProblemCharacteristic]
|
---|
819 | GO
|
---|
820 | /****** Object: ForeignKey [FK_Problem_ProblemCharacteristicFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
821 | ALTER TABLE [dbo].[ProblemCharacteristicFloatValue] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemCharacteristicFloatValue] FOREIGN KEY([ProblemId])
|
---|
822 | REFERENCES [dbo].[Problem] ([Id])
|
---|
823 | GO
|
---|
824 | ALTER TABLE [dbo].[ProblemCharacteristicFloatValue] CHECK CONSTRAINT [FK_Problem_ProblemCharacteristicFloatValue]
|
---|
825 | GO
|
---|
826 | /****** Object: ForeignKey [FK_ProblemCharacteristic_ProblemCharacteristicFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
827 | ALTER TABLE [dbo].[ProblemCharacteristicFloatValue] WITH CHECK ADD CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicFloatValue] FOREIGN KEY([ProblemCharacteristicId])
|
---|
828 | REFERENCES [dbo].[ProblemCharacteristic] ([Id])
|
---|
829 | GO
|
---|
830 | ALTER TABLE [dbo].[ProblemCharacteristicFloatValue] CHECK CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicFloatValue]
|
---|
831 | GO
|
---|
832 | /****** Object: ForeignKey [FK_Problem_ProblemCharacteristicIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
833 | ALTER TABLE [dbo].[ProblemCharacteristicIntValue] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemCharacteristicIntValue] FOREIGN KEY([ProblemId])
|
---|
834 | REFERENCES [dbo].[Problem] ([Id])
|
---|
835 | GO
|
---|
836 | ALTER TABLE [dbo].[ProblemCharacteristicIntValue] CHECK CONSTRAINT [FK_Problem_ProblemCharacteristicIntValue]
|
---|
837 | GO
|
---|
838 | /****** Object: ForeignKey [FK_ProblemCharacteristic_ProblemCharacteristicIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
839 | ALTER TABLE [dbo].[ProblemCharacteristicIntValue] WITH CHECK ADD CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicIntValue] FOREIGN KEY([ProblemCharacteristicId])
|
---|
840 | REFERENCES [dbo].[ProblemCharacteristic] ([Id])
|
---|
841 | GO
|
---|
842 | ALTER TABLE [dbo].[ProblemCharacteristicIntValue] CHECK CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicIntValue]
|
---|
843 | GO
|
---|
844 | /****** Object: ForeignKey [FK_Problem_ProblemCharacteristicStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
845 | ALTER TABLE [dbo].[ProblemCharacteristicStringValue] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemCharacteristicStringValue] FOREIGN KEY([ProblemId])
|
---|
846 | REFERENCES [dbo].[Problem] ([Id])
|
---|
847 | GO
|
---|
848 | ALTER TABLE [dbo].[ProblemCharacteristicStringValue] CHECK CONSTRAINT [FK_Problem_ProblemCharacteristicStringValue]
|
---|
849 | GO
|
---|
850 | /****** Object: ForeignKey [FK_ProblemCharacteristic_ProblemCharacteristicStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
851 | ALTER TABLE [dbo].[ProblemCharacteristicStringValue] WITH CHECK ADD CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicStringValue] FOREIGN KEY([ProblemCharacteristicId])
|
---|
852 | REFERENCES [dbo].[ProblemCharacteristic] ([Id])
|
---|
853 | GO
|
---|
854 | ALTER TABLE [dbo].[ProblemCharacteristicStringValue] CHECK CONSTRAINT [FK_ProblemCharacteristic_ProblemCharacteristicStringValue]
|
---|
855 | GO
|
---|
856 | /****** Object: ForeignKey [FK_Problem_ProblemData] Script Date: 09/12/2010 03:49:12 ******/
|
---|
857 | ALTER TABLE [dbo].[ProblemData] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemData] FOREIGN KEY([ProblemId])
|
---|
858 | REFERENCES [dbo].[Problem] ([Id])
|
---|
859 | GO
|
---|
860 | ALTER TABLE [dbo].[ProblemData] CHECK CONSTRAINT [FK_Problem_ProblemData]
|
---|
861 | GO
|
---|
862 | /****** Object: ForeignKey [FK_DataType_ProblemParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
863 | ALTER TABLE [dbo].[ProblemParameter] WITH CHECK ADD CONSTRAINT [FK_DataType_ProblemParameter] FOREIGN KEY([DataTypeId])
|
---|
864 | REFERENCES [dbo].[DataType] ([Id])
|
---|
865 | GO
|
---|
866 | ALTER TABLE [dbo].[ProblemParameter] CHECK CONSTRAINT [FK_DataType_ProblemParameter]
|
---|
867 | GO
|
---|
868 | /****** Object: ForeignKey [FK_Problem_ProblemParameter] Script Date: 09/12/2010 03:49:12 ******/
|
---|
869 | ALTER TABLE [dbo].[ProblemParameter] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemParameter] FOREIGN KEY([ProblemId])
|
---|
870 | REFERENCES [dbo].[Problem] ([Id])
|
---|
871 | GO
|
---|
872 | ALTER TABLE [dbo].[ProblemParameter] CHECK CONSTRAINT [FK_Problem_ProblemParameter]
|
---|
873 | GO
|
---|
874 | /****** Object: ForeignKey [FK_Experiment_ProblemParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
875 | ALTER TABLE [dbo].[ProblemParameterBlobValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_ProblemParameterBlobValue] FOREIGN KEY([ExperimentId])
|
---|
876 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
877 | GO
|
---|
878 | ALTER TABLE [dbo].[ProblemParameterBlobValue] CHECK CONSTRAINT [FK_Experiment_ProblemParameterBlobValue]
|
---|
879 | GO
|
---|
880 | /****** Object: ForeignKey [FK_ProblemParameter_ProblemParameterBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
881 | ALTER TABLE [dbo].[ProblemParameterBlobValue] WITH CHECK ADD CONSTRAINT [FK_ProblemParameter_ProblemParameterBlobValue] FOREIGN KEY([ProblemParameterId])
|
---|
882 | REFERENCES [dbo].[ProblemParameter] ([Id])
|
---|
883 | GO
|
---|
884 | ALTER TABLE [dbo].[ProblemParameterBlobValue] CHECK CONSTRAINT [FK_ProblemParameter_ProblemParameterBlobValue]
|
---|
885 | GO
|
---|
886 | /****** Object: ForeignKey [FK_Experiment_ProblemParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
887 | ALTER TABLE [dbo].[ProblemParameterBoolValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_ProblemParameterBoolValue] FOREIGN KEY([ExperimentId])
|
---|
888 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
889 | GO
|
---|
890 | ALTER TABLE [dbo].[ProblemParameterBoolValue] CHECK CONSTRAINT [FK_Experiment_ProblemParameterBoolValue]
|
---|
891 | GO
|
---|
892 | /****** Object: ForeignKey [FK_ProblemParameter_ProblemParameterBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
893 | ALTER TABLE [dbo].[ProblemParameterBoolValue] WITH CHECK ADD CONSTRAINT [FK_ProblemParameter_ProblemParameterBoolValue] FOREIGN KEY([ProblemParameterId])
|
---|
894 | REFERENCES [dbo].[ProblemParameter] ([Id])
|
---|
895 | GO
|
---|
896 | ALTER TABLE [dbo].[ProblemParameterBoolValue] CHECK CONSTRAINT [FK_ProblemParameter_ProblemParameterBoolValue]
|
---|
897 | GO
|
---|
898 | /****** Object: ForeignKey [FK_Experiment_ProblemParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
899 | ALTER TABLE [dbo].[ProblemParameterFloatValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_ProblemParameterFloatValue] FOREIGN KEY([ExperimentId])
|
---|
900 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
901 | GO
|
---|
902 | ALTER TABLE [dbo].[ProblemParameterFloatValue] CHECK CONSTRAINT [FK_Experiment_ProblemParameterFloatValue]
|
---|
903 | GO
|
---|
904 | /****** Object: ForeignKey [FK_ProblemParameter_ProblemParameterFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
905 | ALTER TABLE [dbo].[ProblemParameterFloatValue] WITH CHECK ADD CONSTRAINT [FK_ProblemParameter_ProblemParameterFloatValue] FOREIGN KEY([ProblemParameterId])
|
---|
906 | REFERENCES [dbo].[ProblemParameter] ([Id])
|
---|
907 | GO
|
---|
908 | ALTER TABLE [dbo].[ProblemParameterFloatValue] CHECK CONSTRAINT [FK_ProblemParameter_ProblemParameterFloatValue]
|
---|
909 | GO
|
---|
910 | /****** Object: ForeignKey [FK_Experiment_ProblemParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
911 | ALTER TABLE [dbo].[ProblemParameterIntValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_ProblemParameterIntValue] FOREIGN KEY([ExperimentId])
|
---|
912 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
913 | GO
|
---|
914 | ALTER TABLE [dbo].[ProblemParameterIntValue] CHECK CONSTRAINT [FK_Experiment_ProblemParameterIntValue]
|
---|
915 | GO
|
---|
916 | /****** Object: ForeignKey [FK_ProblemParameter_ProblemParameterIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
917 | ALTER TABLE [dbo].[ProblemParameterIntValue] WITH CHECK ADD CONSTRAINT [FK_ProblemParameter_ProblemParameterIntValue] FOREIGN KEY([ProblemParameterId])
|
---|
918 | REFERENCES [dbo].[ProblemParameter] ([Id])
|
---|
919 | GO
|
---|
920 | ALTER TABLE [dbo].[ProblemParameterIntValue] CHECK CONSTRAINT [FK_ProblemParameter_ProblemParameterIntValue]
|
---|
921 | GO
|
---|
922 | /****** Object: ForeignKey [FK_Experiment_ProblemParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
923 | ALTER TABLE [dbo].[ProblemParameterStringValue] WITH CHECK ADD CONSTRAINT [FK_Experiment_ProblemParameterStringValue] FOREIGN KEY([ExperimentId])
|
---|
924 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
925 | GO
|
---|
926 | ALTER TABLE [dbo].[ProblemParameterStringValue] CHECK CONSTRAINT [FK_Experiment_ProblemParameterStringValue]
|
---|
927 | GO
|
---|
928 | /****** Object: ForeignKey [FK_ProblemParameter_ProblemParameterStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
929 | ALTER TABLE [dbo].[ProblemParameterStringValue] WITH CHECK ADD CONSTRAINT [FK_ProblemParameter_ProblemParameterStringValue] FOREIGN KEY([ProblemParameterId])
|
---|
930 | REFERENCES [dbo].[ProblemParameter] ([Id])
|
---|
931 | GO
|
---|
932 | ALTER TABLE [dbo].[ProblemParameterStringValue] CHECK CONSTRAINT [FK_ProblemParameter_ProblemParameterStringValue]
|
---|
933 | GO
|
---|
934 | /****** Object: ForeignKey [FK_Problem_ProblemUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
935 | ALTER TABLE [dbo].[ProblemUser] WITH CHECK ADD CONSTRAINT [FK_Problem_ProblemUser] FOREIGN KEY([ProblemId])
|
---|
936 | REFERENCES [dbo].[Problem] ([Id])
|
---|
937 | GO
|
---|
938 | ALTER TABLE [dbo].[ProblemUser] CHECK CONSTRAINT [FK_Problem_ProblemUser]
|
---|
939 | GO
|
---|
940 | /****** Object: ForeignKey [FK_User_ProblemUser] Script Date: 09/12/2010 03:49:12 ******/
|
---|
941 | ALTER TABLE [dbo].[ProblemUser] WITH CHECK ADD CONSTRAINT [FK_User_ProblemUser] FOREIGN KEY([UserId])
|
---|
942 | REFERENCES [dbo].[User] ([Id])
|
---|
943 | GO
|
---|
944 | ALTER TABLE [dbo].[ProblemUser] CHECK CONSTRAINT [FK_User_ProblemUser]
|
---|
945 | GO
|
---|
946 | /****** Object: ForeignKey [FK_Algorithm_Result] Script Date: 09/12/2010 03:49:12 ******/
|
---|
947 | ALTER TABLE [dbo].[Result] WITH CHECK ADD CONSTRAINT [FK_Algorithm_Result] FOREIGN KEY([AlgorithmId])
|
---|
948 | REFERENCES [dbo].[Algorithm] ([Id])
|
---|
949 | GO
|
---|
950 | ALTER TABLE [dbo].[Result] CHECK CONSTRAINT [FK_Algorithm_Result]
|
---|
951 | GO
|
---|
952 | /****** Object: ForeignKey [FK_DataType_Result] Script Date: 09/12/2010 03:49:12 ******/
|
---|
953 | ALTER TABLE [dbo].[Result] WITH CHECK ADD CONSTRAINT [FK_DataType_Result] FOREIGN KEY([DataTypeId])
|
---|
954 | REFERENCES [dbo].[DataType] ([Id])
|
---|
955 | GO
|
---|
956 | ALTER TABLE [dbo].[Result] CHECK CONSTRAINT [FK_DataType_Result]
|
---|
957 | GO
|
---|
958 | /****** Object: ForeignKey [FK_Result_ResultBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
959 | ALTER TABLE [dbo].[ResultBlobValue] WITH CHECK ADD CONSTRAINT [FK_Result_ResultBlobValue] FOREIGN KEY([ResultId])
|
---|
960 | REFERENCES [dbo].[Result] ([Id])
|
---|
961 | GO
|
---|
962 | ALTER TABLE [dbo].[ResultBlobValue] CHECK CONSTRAINT [FK_Result_ResultBlobValue]
|
---|
963 | GO
|
---|
964 | /****** Object: ForeignKey [FK_Run_ResultBlobValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
965 | ALTER TABLE [dbo].[ResultBlobValue] WITH CHECK ADD CONSTRAINT [FK_Run_ResultBlobValue] FOREIGN KEY([RunId])
|
---|
966 | REFERENCES [dbo].[Run] ([Id])
|
---|
967 | GO
|
---|
968 | ALTER TABLE [dbo].[ResultBlobValue] CHECK CONSTRAINT [FK_Run_ResultBlobValue]
|
---|
969 | GO
|
---|
970 | /****** Object: ForeignKey [FK_Result_ResultBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
971 | ALTER TABLE [dbo].[ResultBoolValue] WITH CHECK ADD CONSTRAINT [FK_Result_ResultBoolValue] FOREIGN KEY([ResultId])
|
---|
972 | REFERENCES [dbo].[Result] ([Id])
|
---|
973 | GO
|
---|
974 | ALTER TABLE [dbo].[ResultBoolValue] CHECK CONSTRAINT [FK_Result_ResultBoolValue]
|
---|
975 | GO
|
---|
976 | /****** Object: ForeignKey [FK_Run_ResultBoolValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
977 | ALTER TABLE [dbo].[ResultBoolValue] WITH CHECK ADD CONSTRAINT [FK_Run_ResultBoolValue] FOREIGN KEY([RunId])
|
---|
978 | REFERENCES [dbo].[Run] ([Id])
|
---|
979 | GO
|
---|
980 | ALTER TABLE [dbo].[ResultBoolValue] CHECK CONSTRAINT [FK_Run_ResultBoolValue]
|
---|
981 | GO
|
---|
982 | /****** Object: ForeignKey [FK_Result_ResultFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
983 | ALTER TABLE [dbo].[ResultFloatValue] WITH CHECK ADD CONSTRAINT [FK_Result_ResultFloatValue] FOREIGN KEY([ResultId])
|
---|
984 | REFERENCES [dbo].[Result] ([Id])
|
---|
985 | GO
|
---|
986 | ALTER TABLE [dbo].[ResultFloatValue] CHECK CONSTRAINT [FK_Result_ResultFloatValue]
|
---|
987 | GO
|
---|
988 | /****** Object: ForeignKey [FK_Run_ResultFloatValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
989 | ALTER TABLE [dbo].[ResultFloatValue] WITH CHECK ADD CONSTRAINT [FK_Run_ResultFloatValue] FOREIGN KEY([RunId])
|
---|
990 | REFERENCES [dbo].[Run] ([Id])
|
---|
991 | GO
|
---|
992 | ALTER TABLE [dbo].[ResultFloatValue] CHECK CONSTRAINT [FK_Run_ResultFloatValue]
|
---|
993 | GO
|
---|
994 | /****** Object: ForeignKey [FK_Result_ResultIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
995 | ALTER TABLE [dbo].[ResultIntValue] WITH CHECK ADD CONSTRAINT [FK_Result_ResultIntValue] FOREIGN KEY([ResultId])
|
---|
996 | REFERENCES [dbo].[Result] ([Id])
|
---|
997 | GO
|
---|
998 | ALTER TABLE [dbo].[ResultIntValue] CHECK CONSTRAINT [FK_Result_ResultIntValue]
|
---|
999 | GO
|
---|
1000 | /****** Object: ForeignKey [FK_Run_ResultIntValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1001 | ALTER TABLE [dbo].[ResultIntValue] WITH CHECK ADD CONSTRAINT [FK_Run_ResultIntValue] FOREIGN KEY([RunId])
|
---|
1002 | REFERENCES [dbo].[Run] ([Id])
|
---|
1003 | GO
|
---|
1004 | ALTER TABLE [dbo].[ResultIntValue] CHECK CONSTRAINT [FK_Run_ResultIntValue]
|
---|
1005 | GO
|
---|
1006 | /****** Object: ForeignKey [FK_Result_ResultStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1007 | ALTER TABLE [dbo].[ResultStringValue] WITH CHECK ADD CONSTRAINT [FK_Result_ResultStringValue] FOREIGN KEY([ResultId])
|
---|
1008 | REFERENCES [dbo].[Result] ([Id])
|
---|
1009 | GO
|
---|
1010 | ALTER TABLE [dbo].[ResultStringValue] CHECK CONSTRAINT [FK_Result_ResultStringValue]
|
---|
1011 | GO
|
---|
1012 | /****** Object: ForeignKey [FK_Run_ResultStringValue] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1013 | ALTER TABLE [dbo].[ResultStringValue] WITH CHECK ADD CONSTRAINT [FK_Run_ResultStringValue] FOREIGN KEY([RunId])
|
---|
1014 | REFERENCES [dbo].[Run] ([Id])
|
---|
1015 | GO
|
---|
1016 | ALTER TABLE [dbo].[ResultStringValue] CHECK CONSTRAINT [FK_Run_ResultStringValue]
|
---|
1017 | GO
|
---|
1018 | /****** Object: ForeignKey [FK_Client_Run] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1019 | ALTER TABLE [dbo].[Run] WITH CHECK ADD CONSTRAINT [FK_Client_Run] FOREIGN KEY([ClientId])
|
---|
1020 | REFERENCES [dbo].[Client] ([Id])
|
---|
1021 | GO
|
---|
1022 | ALTER TABLE [dbo].[Run] CHECK CONSTRAINT [FK_Client_Run]
|
---|
1023 | GO
|
---|
1024 | /****** Object: ForeignKey [FK_Experiment_Run] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1025 | ALTER TABLE [dbo].[Run] WITH CHECK ADD CONSTRAINT [FK_Experiment_Run] FOREIGN KEY([ExperimentId])
|
---|
1026 | REFERENCES [dbo].[Experiment] ([Id])
|
---|
1027 | GO
|
---|
1028 | ALTER TABLE [dbo].[Run] CHECK CONSTRAINT [FK_Experiment_Run]
|
---|
1029 | GO
|
---|
1030 | /****** Object: ForeignKey [FK_User_Run] Script Date: 09/12/2010 03:49:12 ******/
|
---|
1031 | ALTER TABLE [dbo].[Run] WITH CHECK ADD CONSTRAINT [FK_User_Run] FOREIGN KEY([UserId])
|
---|
1032 | REFERENCES [dbo].[User] ([Id])
|
---|
1033 | GO
|
---|
1034 | ALTER TABLE [dbo].[Run] CHECK CONSTRAINT [FK_User_Run]
|
---|
1035 | GO
|
---|