diff options
Diffstat (limited to 'www/wiki/maintenance/postgres/archives/patch-drop-ar_text.sql')
-rw-r--r-- | www/wiki/maintenance/postgres/archives/patch-drop-ar_text.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/wiki/maintenance/postgres/archives/patch-drop-ar_text.sql b/www/wiki/maintenance/postgres/archives/patch-drop-ar_text.sql new file mode 100644 index 00000000..bd0a6b81 --- /dev/null +++ b/www/wiki/maintenance/postgres/archives/patch-drop-ar_text.sql @@ -0,0 +1,8 @@ +-- T33223: Remove obsolete ar_text and ar_flags columns +-- (and make ar_text_id not nullable and default 0) + +ALTER TABLE archive + DROP COLUMN ar_text, + DROP COLUMN ar_flags, + ALTER COLUMN ar_text_id SET DEFAULT 0, + ALTER COLUMN ar_text_id SET NOT NULL; |