Files
pocket-id/backend/resources/migrations/sqlite/20250412000000_add_user_disabled_field.up.sql
2025-08-24 23:07:50 +02:00

7 lines
134 B
PL/PgSQL

PRAGMA foreign_keys=OFF;
BEGIN;
ALTER TABLE users
ADD COLUMN disabled NUMERIC DEFAULT FALSE NOT NULL;
COMMIT;
PRAGMA foreign_keys=ON;