X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=src%2Fdb%2Fpostgres%2Fsql%2Fschema%2F1.0.0%2Frevert.sql;fp=src%2Fdb%2Fpostgres%2Fsql%2Fschema%2F1.0.0%2Frevert.sql;h=af4665aa4cb5184fcc8b98c5260bdd912bb874e5;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/src/db/postgres/sql/schema/1.0.0/revert.sql b/src/db/postgres/sql/schema/1.0.0/revert.sql new file mode 100644 index 0000000..af4665a --- /dev/null +++ b/src/db/postgres/sql/schema/1.0.0/revert.sql @@ -0,0 +1,9 @@ +BEGIN; + DROP TABLE authentication CASCADE; + DROP TABLE profile CASCADE; + DROP TABLE token CASCADE; + DROP TABLE scope CASCADE; + DROP TABLE profile_scope CASCADE; + + DELETE FROM _meta_schema_version WHERE major = 1 AND minor = 0 AND patch = 0; +COMMIT;