summaryrefslogtreecommitdiff
path: root/maintenance/postgres/archives/patch-remove-archive2.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/postgres/archives/patch-remove-archive2.sql')
-rw-r--r--maintenance/postgres/archives/patch-remove-archive2.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintenance/postgres/archives/patch-remove-archive2.sql b/maintenance/postgres/archives/patch-remove-archive2.sql
new file mode 100644
index 00000000..20bac385
--- /dev/null
+++ b/maintenance/postgres/archives/patch-remove-archive2.sql
@@ -0,0 +1,3 @@
+DROP VIEW archive;
+ALTER TABLE archive2 RENAME TO archive;
+ALTER TABLE archive ADD ar_len INTEGER;