diff --git a/migrations.py b/migrations.py index b4918cb..c36a4aa 100644 --- a/migrations.py +++ b/migrations.py @@ -341,7 +341,7 @@ async def m002_add_account_is_active(db): """ await db.execute( """ - ALTER TABLE castle_accounts + ALTER TABLE accounts ADD COLUMN is_active BOOLEAN NOT NULL DEFAULT TRUE """ ) @@ -349,6 +349,6 @@ async def m002_add_account_is_active(db): # Create index for faster queries filtering by is_active await db.execute( """ - CREATE INDEX idx_castle_accounts_is_active ON castle_accounts (is_active) + CREATE INDEX idx_accounts_is_active ON accounts (is_active) """ )