track topic update history
[websub-hub] / src / db / postgres / sql / schema / 1.0.3 / revert.sql
diff --git a/src/db/postgres/sql/schema/1.0.3/revert.sql b/src/db/postgres/sql/schema/1.0.3/revert.sql
new file mode 100644 (file)
index 0000000..a838ade
--- /dev/null
@@ -0,0 +1,7 @@
+BEGIN;
+       DROP INDEX topic_content_history_topic_id_idx;
+       DROP INDEX topic_content_history_content_updated_idx;
+       DROP TABLE topic_content_history;
+
+       DELETE FROM _meta_schema_version WHERE major = 1 AND minor = 0 AND patch = 3;
+COMMIT;