EnVisageOnline/Beta/Database/Scripts/20140604/02_SystemSettings_Recreate.sql

31 lines
753 B
Transact-SQL

USE [envisage]
GO
/****** Object: Table [dbo].[SystemSettings] Script Date: 03.06.2014 18:24:31 ******/
if exists (select * from sys.all_objects where object_id = OBJECT_ID('SystemSettings') and type = 'U')
begin
DROP TABLE [dbo].[SystemSettings]
end
GO
/****** Object: Table [dbo].[SystemSettings] Script Date: 03.06.2014 18:24:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SystemSettings](
[Id] [uniqueidentifier] NOT NULL,
[Type] [int] NOT NULL,
[Value] nvarchar(max) NOT NULL,
CONSTRAINT [PK_SystemSettings] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO