From c35944d51f52cb5347c4ceb136bec6398e6314dc Mon Sep 17 00:00:00 2001 From: padreug Date: Tue, 11 Nov 2025 02:05:36 +0100 Subject: [PATCH] Fix m002 migration table name (accounts not castle_accounts) --- migrations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) """ )