ttrss/sql/mysql/migrations/97.sql

11 lines
305 B
PL/PgSQL

begin;
alter table ttrss_users add column otp_enabled boolean;
update ttrss_users set otp_enabled = false;
alter table ttrss_users change otp_enabled otp_enabled boolean not null;
alter table ttrss_users alter column otp_enabled set default false;
update ttrss_version set schema_version = 97;
commit;