forked from atiburrahman09/CVUploadService
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScripts_Table.sql
66 lines (65 loc) · 2.66 KB
/
Scripts_Table.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/****** Object: Table [dbo].[SystemGlobalProperties] Script Date: 5/9/2022 3:27:03 PM ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SystemGlobalProperties]') AND type in (N'U'))
DROP TABLE [dbo].[SystemGlobalProperties]
GO
/****** Object: Table [dbo].[MapperConfiguration] Script Date: 5/9/2022 3:27:03 PM ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[MapperConfiguration]') AND type in (N'U'))
DROP TABLE [dbo].[MapperConfiguration]
GO
/****** Object: Table [dbo].[FileStore] Script Date: 5/9/2022 3:27:03 PM ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[FileStore]') AND type in (N'U'))
DROP TABLE [dbo].[FileStore]
GO
/****** Object: Table [dbo].[FileStore] Script Date: 5/9/2022 3:27:03 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FileStore](
[ID] [int] IDENTITY(1,1) NOT NULL,
[FileName] [nvarchar](max) NOT NULL,
[ExecutionTime] [date] NOT NULL,
[Status] [bit] NOT NULL,
CONSTRAINT [PK_FileStore] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[MapperConfiguration] Script Date: 5/9/2022 3:27:03 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[MapperConfiguration](
[ID] [int] IDENTITY(1,1) NOT NULL,
[SourceTable] [nvarchar](max) NOT NULL,
[DestinationTable] [nvarchar](max) NOT NULL,
[SQL] [nvarchar](max) NOT NULL,
[IsActive] [bit] NOT NULL,
[CreatedDate] [date] NOT NULL,
[UpdatedDate] [date] NULL,
CONSTRAINT [PK_MapperConfiguration] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[SystemGlobalProperties] Script Date: 5/9/2022 3:27:03 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SystemGlobalProperties](
[PropertyID] [int] IDENTITY(1,1) NOT NULL,
[PropertyName] [nvarchar](255) NULL,
[PropertyValue] [nvarchar](255) NULL,
[PropertyGroup] [nvarchar](255) NULL,
[PropertyNote] [nvarchar](255) NULL,
[PropertyType] [nvarchar](255) NULL,
CONSTRAINT [PK_SystemGlobalProperties] PRIMARY KEY CLUSTERED
(
[PropertyID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO