summaryrefslogtreecommitdiff
path: root/maintenance/postgres/archives/patch-page_props.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/postgres/archives/patch-page_props.sql')
-rw-r--r--maintenance/postgres/archives/patch-page_props.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/maintenance/postgres/archives/patch-page_props.sql b/maintenance/postgres/archives/patch-page_props.sql
new file mode 100644
index 00000000..ab707022
--- /dev/null
+++ b/maintenance/postgres/archives/patch-page_props.sql
@@ -0,0 +1,9 @@
+
+CREATE TABLE page_props (
+ pp_page INTEGER NOT NULL REFERENCES page (page_id) ON DELETE CASCADE,
+ pp_propname TEXT NOT NULL,
+ pp_value TEXT NOT NULL
+);
+ALTER TABLE page_props ADD CONSTRAINT page_props_pk PRIMARY KEY (pp_page,pp_propname);
+CREATE INDEX page_props_propname ON page_props (pp_propname);
+