tt-rss/schema/versions/mysql/97.sql
2012-09-03 18:33:46 +04:00

10 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;