Changeset 6698 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts
- Timestamp:
- 09/02/11 11:49:53 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts/Initialize Hive Database.sql
r6688 r6698 5 5 CREATE TABLE [dbo].[AssignedResources]( 6 6 [ResourceId] UniqueIdentifier NOT NULL, 7 [JobId] UniqueIdentifier NOT NULL, 8 [AssignedRessourcesId] UniqueIdentifier NOT NULL,9 CONSTRAINT [PK_dbo. AssignedResources] PRIMARY KEY ([AssignedRessourcesId])7 [JobId] UniqueIdentifier NOT NULL, 8 CONSTRAINT [PK_dbo.ResourceId] PRIMARY KEY ([ResourceId]), 9 CONSTRAINT [PK_dbo.JobId] PRIMARY KEY ([JobId]) 10 10 ) 11 11 CREATE TABLE [dbo].[Plugin]( -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts/Prepare Hive Database.sql
r6688 r6698 8 8 9 9 10 ALTER TABLE dbo.AssignedResources ALTER COLUMN AssignedRessourcesId ADD ROWGUIDCOL;11 ALTER TABLE dbo.AssignedResources WITH NOCHECK ADD CONSTRAINT [DF_AssignedResources_AssignedRessourcesId] DEFAULT (NEWSEQUENTIALID()) FOR AssignedRessourcesId;12 10 ALTER TABLE [dbo].[AssignedResources] DROP CONSTRAINT [Job_AssignedResource] 13 11 ALTER TABLE [dbo].[AssignedResources] WITH CHECK ADD CONSTRAINT [Job_AssignedResource] FOREIGN KEY([JobId])
Note: See TracChangeset
for help on using the changeset viewer.