lemmy/migrations/2023-09-11-110040_rework-2f.../up.sql

7 lines
142 B
SQL

ALTER TABLE local_user
DROP COLUMN totp_2fa_url;
ALTER TABLE local_user
ADD COLUMN totp_2fa_enabled boolean NOT NULL DEFAULT FALSE;