]> git.wh0rd.org - tt-rss.git/blame - schema/versions/pgsql/84.sql
schema: add status codes
[tt-rss.git] / schema / versions / pgsql / 84.sql
CommitLineData
58fa1bbc
AD
1begin;
2
3create table ttrss_linked_instances (id serial not null primary key,
afb875cc 4 last_connected datetime not null,
cfc06471
AD
5 last_status_in integer not null,
6 last_status_out integer not null,
58fa1bbc
AD
7 access_key varchar(250) not null,
8 access_url text not null);
9
10create table ttrss_linked_feeds (
11 feed_url text not null,
12 title text not null,
13 created timestamp not null,
14 updated timestamp not null,
15 instance_id integer not null references ttrss_linked_instances(id) ON DELETE CASCADE,
16 subscribers integer not null);
17
18drop table ttrss_scheduled_updates;
19
20update ttrss_version set schema_version = 84;
21
22commit;