-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathplan.json
More file actions
26 lines (26 loc) · 790 Bytes
/
plan.json
File metadata and controls
26 lines (26 loc) · 790 Bytes
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
{
"version": "1.0.0",
"pgschema_version": "1.8.0",
"created_at": "1970-01-01T00:00:00Z",
"source_fingerprint": {
"hash": "d7265cc266dac8551a3b9f37cf2293f45c601b13dafb6bb301915976389a3927"
},
"groups": [
{
"steps": [
{
"sql": "DROP MATERIALIZED VIEW active_employees RESTRICT;",
"type": "materialized_view",
"operation": "alter",
"path": "public.active_employees"
},
{
"sql": "CREATE MATERIALIZED VIEW IF NOT EXISTS active_employees AS\n SELECT id,\n name,\n salary,\n status\n FROM employees\n WHERE status::text = 'active'::text;",
"type": "materialized_view",
"operation": "alter",
"path": "public.active_employees"
}
]
}
]
}