X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Fdb%2Fpostgres%2Fsql%2Fschema%2F1.0.3%2Frevert.sql;fp=src%2Fdb%2Fpostgres%2Fsql%2Fschema%2F1.0.3%2Frevert.sql;h=a838ade15965eccae5ef69402d60faf0c2fa0c38;hb=f793d88a96b9495172f5dd0c342f2036c902902d;hp=0000000000000000000000000000000000000000;hpb=f97144a77f0ee18efa4b5f0290d030baa2757044;p=websub-hub 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 index 0000000..a838ade --- /dev/null +++ b/src/db/postgres/sql/schema/1.0.3/revert.sql @@ -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;