database migration 1.0.4, store topic fetch etag/last-modified, provide these when...
[websub-hub] / src / db / postgres / sql / schema / 1.0.4 / revert.sql
diff --git a/src/db/postgres/sql/schema/1.0.4/revert.sql b/src/db/postgres/sql/schema/1.0.4/revert.sql
new file mode 100644 (file)
index 0000000..19c6e73
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN;
+
+       ALTER TABLE topic
+               DROP COLUMN http_etag,
+               DROP COLUMN http_last_modified
+       ;
+
+       DELETE FROM _meta_schema_version WHERE major = 1 AND minor = 0 AND PATCH = 4;
+
+COMMIT;