diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-18 15:03:04 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-18 15:03:04 -0400 |
commit | f52c257d41d1b65acef1402df543ea8848951dbf (patch) | |
tree | 1fd500d7853244148ad6069826dfce589b4a9328 /src/db | |
parent | refactor (diff) | |
download | website-f52c257d41d1b65acef1402df543ea8848951dbf.tar.gz website-f52c257d41d1b65acef1402df543ea8848951dbf.tar.bz2 website-f52c257d41d1b65acef1402df543ea8848951dbf.zip |
fix sitemap, drop old tables
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/migrations/0001.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/db/migrations/0001.sql b/src/db/migrations/0001.sql new file mode 100644 index 0000000..f2bb5f6 --- /dev/null +++ b/src/db/migrations/0001.sql @@ -0,0 +1,14 @@ +BEGIN TRANSACTION; +SET search_path = public; + +-- Migration Start +DROP TABLE admin.request_log; +DROP TYPE admin.request_log_method_type; +DROP SEQUENCE sys.request_log_id_seq; +DROP TABLE admin.banned; +-- Migration End; + +-- Set Current Revision +UPDATE sys.database_info SET curr_revision = 2 WHERE name = current_database(); + +COMMIT TRANSACTION; |