-
Notifications
You must be signed in to change notification settings - Fork 0
/
V202407212048__v2.1.x.sql
78 lines (55 loc) · 3.28 KB
/
V202407212048__v2.1.x.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
67
68
69
70
71
72
73
74
75
76
77
78
/*
**************************************************************************************************************
Communication_Metadata Dataset
**************************************************************************************************************
*/
INSERT INTO ${flyway:defaultSchema}.Dataset ( ID, Name, Description )
VALUES ( 'e037040b-758b-4e11-820a-d501422a4c8e', 'Communication_Metadata', 'Metadata cached for the Communication Framework' )
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'BaseMessageTypes', 'e037040b-758b-4e11-820a-d501422a4c8e', 1, '47248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'Providers', 'e037040b-758b-4e11-820a-d501422a4c8e', 2, '43248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'ProviderMessageTypes', 'e037040b-758b-4e11-820a-d501422a4c8e', 3, '45248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'EntityCommunicationMessageTypes', 'e037040b-758b-4e11-820a-d501422a4c8e', 4, '51248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'EntityCommunicationFields', 'e037040b-758b-4e11-820a-d501422a4c8e', 5, '52248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
/*
**************************************************************************************************************
Template_Metadata Dataset
**************************************************************************************************************
*/
DECLARE @Template_Metadata TABLE (ID uniqueidentifier);
INSERT INTO ${flyway:defaultSchema}.Dataset ( ID, Name, Description )
VALUES ( 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 'Template_Metadata', 'Metadata cached for the Templates Framework' )
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'TemplateContentTypes', 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 1, '4C248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'TemplateCategories', 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 2, '49248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'Templates', 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 3, '48248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'TemplateContents', 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 4, '4A248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')
INSERT INTO ${flyway:defaultSchema}.DatasetItem
( Code, DatasetID, Sequence, EntityID, DateFieldToCheck )
VALUES
( 'TemplateParams', 'b17bf510-e069-4c7f-ae7c-eceff6feb9b2', 5, '4B248F34-2837-EF11-86D4-6045BDEE16E6', '__mj_UpdatedAt')