- Timestamp:
- 06/28/13 12:05:53 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Services.Hive.DataAccess
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Services.Hive.DataAccess
- Property svn:mergeinfo changed
/branches/HivePerformance/sources/HeuristicLab.Services.Hive.DataAccess (added) merged: 9369,9381,9393,9444,9469,9485,9492,9539,9634,9636
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql
r9123 r9665 1 1 USE [HeuristicLab.Hive-3.3] 2 2 /* create and initialize hive database tables */ 3 4 EXEC sp_configure filestream_access_level, 2 5 GO 6 RECONFIGURE 7 GO 3 8 4 9 SET ARITHABORT ON … … 88 93 ) 89 94 CREATE TABLE [dbo].[TaskData]( 90 [TaskId] UniqueIdentifier NOT NULL,91 [Data] VarBinary(MAX) NOT NULL,95 [TaskId] UniqueIdentifier RowGuidCol NOT NULL, 96 [Data] VarBinary(MAX) Filestream NOT NULL, 92 97 [LastUpdate] DateTime NOT NULL, 93 98 CONSTRAINT [PK_dbo.TaskData] PRIMARY KEY ([TaskId]) 94 99 ) 95 100 CREATE TABLE [dbo].[PluginData]( 96 [PluginDataId] UniqueIdentifier NOT NULL,101 [PluginDataId] UniqueIdentifier RowGuidCol NOT NULL, 97 102 [PluginId] UniqueIdentifier NOT NULL, 98 [Data] VarBinary(MAX) NOT NULL,103 [Data] VarBinary(MAX) FileStream NOT NULL, 99 104 [FileName] VarChar(MAX) NOT NULL, 100 105 CONSTRAINT [PK_dbo.PluginData] PRIMARY KEY ([PluginDataId]) -
trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Prepare Hive Database.sql
r7916 r9665 41 41 ALTER TABLE dbo.Plugin WITH NOCHECK ADD CONSTRAINT [DF_Plugin_PluginId] DEFAULT (NEWSEQUENTIALID()) FOR PluginId; 42 42 43 ALTER TABLE dbo.PluginData ALTER COLUMN PluginDataId ADD ROWGUIDCOL;44 43 ALTER TABLE dbo.PluginData WITH NOCHECK ADD CONSTRAINT [DF_PluginData_PluginDataId] DEFAULT (NEWSEQUENTIALID()) FOR PluginDataId; 45 44
Note: See TracChangeset
for help on using the changeset viewer.