-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathplan.json
More file actions
38 lines (38 loc) · 1.21 KB
/
plan.json
File metadata and controls
38 lines (38 loc) · 1.21 KB
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
{
"version": "1.0.0",
"pgschema_version": "1.7.2",
"created_at": "1970-01-01T00:00:00Z",
"source_fingerprint": {
"hash": "59ecc7fdab924e513eb6acdc93543167379bf64b4c6b5e1fe1d8e98fa48fdb9f"
},
"groups": [
{
"steps": [
{
"sql": "ALTER TABLE \"Planning\" ADD CONSTRAINT \"offersValidUntil_not_null\" CHECK (\"offersValidUntil\" IS NOT NULL) NOT VALID;",
"type": "table.column",
"operation": "alter",
"path": "public.Planning.offersValidUntil"
},
{
"sql": "ALTER TABLE \"Planning\" VALIDATE CONSTRAINT \"offersValidUntil_not_null\";",
"type": "table.column",
"operation": "alter",
"path": "public.Planning.offersValidUntil"
},
{
"sql": "ALTER TABLE \"Planning\" ALTER COLUMN \"offersValidUntil\" SET NOT NULL;",
"type": "table.column",
"operation": "alter",
"path": "public.Planning.offersValidUntil"
},
{
"sql": "ALTER TABLE \"Planning\" DROP CONSTRAINT \"offersValidUntil_not_null\";",
"type": "table.column",
"operation": "alter",
"path": "public.Planning.offersValidUntil"
}
]
}
]
}