Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/22/11 13:06:02 (13 years ago)
Author:
ascheibe
Message:

#1648 some minor fixes in the dto's, database and sql scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Services.Access.DataAccess/3.3/SQL Scripts/Initialize ClientManagement.sql

    r6815 r6820  
    22GO
    33
    4 /****** Object:  Table [dbo].[Resource]    Script Date: 09/19/2011 13:24:05 ******/
     4/****** Object:  Table [dbo].[Resource]    Script Date: 09/22/2011 12:53:30 ******/
    55SET ANSI_NULLS ON
    66GO
     
    1515  [Type] [nvarchar](max) NOT NULL,
    1616  [ProcessorType] [nvarchar](max) NULL,
    17   [NumberOfCores] [int](max) NULL,
     17  [NumberOfCores] [int] NULL,
    1818  [IPAddress] [nvarchar](max) NULL,
    19   [MemorySize] [int](max) NULL,
     19  [MemorySize] [int] NULL,
    2020  [OperatingSystem] [nvarchar](max) NULL,
    2121  [Country] [nvarchar](max) NULL,
    2222  [HeuristicLabVersion] [nvarchar](max) NULL,
     23  [ClientType] [nvarchar](max) NULL,
    2324 CONSTRAINT [PK_Resource] PRIMARY KEY CLUSTERED
    2425(
     
    2829
    2930GO
    30 
    31 /****** Object:  Table [dbo].[ResourceResourceGroup]    Script Date: 09/19/2011 13:24:08 ******/
     31/****** Object:  Table [dbo].[ResourceResourceGroup]    Script Date: 09/22/2011 12:53:47 ******/
    3232SET ANSI_NULLS ON
    3333GO
     
    6060
    6161ALTER TABLE [dbo].[ResourceResourceGroup] CHECK CONSTRAINT [FK_ResourceResourceGroup_ResourceId]
    62 GO
    6362
    64 /****** Object:  Table [dbo].[ClientLog]    Script Date: 09/19/2011 13:24:11 ******/
     63/****** Object:  Table [dbo].[ClientLog]    Script Date: 09/22/2011 12:54:07 ******/
    6564SET ANSI_NULLS ON
    6665GO
     
    9089GO
    9190
     91/****** Object:  Table [dbo].[User]    Script Date: 09/22/2011 12:54:23 ******/
     92SET ANSI_NULLS ON
     93GO
    9294
     95SET QUOTED_IDENTIFIER ON
     96GO
    9397
     98CREATE TABLE [dbo].[User](
     99  [Id] [uniqueidentifier] NOT NULL,
     100  [FullName] [nvarchar](max) NULL,
     101 CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED
     102(
     103  [Id] ASC
     104)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
     105) ON [PRIMARY]
    94106
     107GO
    95108
     109/****** Object:  Table [dbo].[UserGroup]    Script Date: 09/22/2011 12:54:35 ******/
     110SET ANSI_NULLS ON
     111GO
    96112
     113SET QUOTED_IDENTIFIER ON
     114GO
     115
     116CREATE TABLE [dbo].[UserGroup](
     117  [Id] [uniqueidentifier] NOT NULL,
     118  [Name] [nvarchar](max) NOT NULL,
     119  [ParentUserGroup] [uniqueidentifier] NULL,
     120 CONSTRAINT [PK_UserGroup] PRIMARY KEY CLUSTERED
     121(
     122  [Id] ASC
     123)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
     124) ON [PRIMARY]
     125
     126GO
     127
     128/****** Object:  Table [dbo].[UserUserGroup]    Script Date: 09/22/2011 12:54:52 ******/
     129SET ANSI_NULLS ON
     130GO
     131
     132SET QUOTED_IDENTIFIER ON
     133GO
     134
     135CREATE TABLE [dbo].[UserUserGroup](
     136  [UserId] [uniqueidentifier] NOT NULL,
     137  [UserGroupId] [uniqueidentifier] NOT NULL,
     138 CONSTRAINT [PK_UserUserGroup] PRIMARY KEY CLUSTERED
     139(
     140  [UserId] ASC,
     141  [UserGroupId] ASC
     142)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
     143) ON [PRIMARY]
     144
     145GO
     146
     147ALTER TABLE [dbo].[UserUserGroup]  WITH CHECK ADD  CONSTRAINT [FK_UserUserGroup_User] FOREIGN KEY([UserId])
     148REFERENCES [dbo].[User] ([Id])
     149GO
     150
     151ALTER TABLE [dbo].[UserUserGroup] CHECK CONSTRAINT [FK_UserUserGroup_User]
     152GO
     153
     154ALTER TABLE [dbo].[UserUserGroup]  WITH CHECK ADD  CONSTRAINT [FK_UserUserGroup_UserGroup] FOREIGN KEY([UserGroupId])
     155REFERENCES [dbo].[UserGroup] ([Id])
     156GO
     157
     158ALTER TABLE [dbo].[UserUserGroup] CHECK CONSTRAINT [FK_UserUserGroup_UserGroup]
     159GO
Note: See TracChangeset for help on using the changeset viewer.