]> git.wh0rd.org - tt-rss.git/blob - schema/versions/mysql/69.sql
replace old-style published feed with universal secretkey-based approach used for...
[tt-rss.git] / schema / versions / mysql / 69.sql
1 begin;
2
3 create table ttrss_access_keys (id serial not null primary key,
4 access_key varchar(250) not null,
5 feed_id varchar(250) not null,
6 is_cat bool not null default false,
7 owner_uid integer not null,
8 foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) TYPE=InnoDB DEFAULT CHARSET=UTF8;
9
10 update ttrss_version set schema_version = 69;
11
12 commit;