6 lines
297 B
SQL
6 lines
297 B
SQL
-- Optional TOTP two-factor authentication for administrators.
|
|
alter table users
|
|
add column if not exists two_factor_secret text,
|
|
add column if not exists two_factor_enabled boolean not null default false,
|
|
add column if not exists two_factor_backup_codes jsonb not null default '[]'::jsonb;
|