From 092b81c53a46db1310920f0428dec9275a72a659 Mon Sep 17 00:00:00 2001 From: LoRiot Date: Sat, 15 Oct 2022 17:57:52 +0300 Subject: [PATCH] Drop tags and categories --- db/migrations/drop_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/drop_tables.py b/db/migrations/drop_tables.py index 9d3f062..8a74674 100644 --- a/db/migrations/drop_tables.py +++ b/db/migrations/drop_tables.py @@ -5,7 +5,7 @@ from asyncpg.connection import Connection async def drop_tables(connection: Connection): - await connection.execute("DROP TABLE users, projects CASCADE") + await connection.execute("DROP TABLE users, tags, categories, projects CASCADE") async def main():