<?php
define('EXPECTED_CONFIG_VERSION', 26);
- define('SCHEMA_VERSION', 123);
+ define('SCHEMA_VERSION', 124);
define('LABEL_BASE_INDEX', -1024);
define('PLUGIN_FEED_BASE_INDEX', -128);
created datetime default null,
twitter_oauth longtext default null,
otp_enabled boolean not null default false,
+ resetpass_token varchar(250) default null,
index (theme_id)) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-insert into ttrss_version values (123);
+insert into ttrss_version values (124);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,
salt varchar(250) not null default '',
twitter_oauth text default null,
otp_enabled boolean not null default false,
+ resetpass_token varchar(250) default null,
created timestamp default null);
insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (123);
+insert into ttrss_version values (124);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
--- /dev/null
+begin;
+
+alter table ttrss_users add column resetpass_token boolean;
+alter table ttrss_users alter column resetpass_token set default null;
+
+update ttrss_version set schema_version = 124;
+
+commit;
--- /dev/null
+begin;
+
+alter table ttrss_users add column resetpass_token varchar(250);
+alter table ttrss_users alter column resetpass_token set default null;
+
+update ttrss_version set schema_version = 124;
+
+commit;