From cfc0647184933b042b9929ede09f52e7d3f3318f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Apr 2011 14:46:53 +0400 Subject: [PATCH] schema: add status codes --- schema/ttrss_schema_mysql.sql | 2 ++ schema/ttrss_schema_pgsql.sql | 2 ++ schema/versions/mysql/84.sql | 2 ++ schema/versions/pgsql/84.sql | 2 ++ 4 files changed, 8 insertions(+) diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index 91475e602..a3a7b695b 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -430,6 +430,8 @@ create table ttrss_access_keys (id integer not null primary key auto_increment, create table ttrss_linked_instances (id integer not null primary key auto_increment, last_connected datetime not null, + last_status_in integer not null, + last_status_out integer not null, access_key varchar(250) not null, access_url text not null) TYPE=InnoDB DEFAULT CHARSET=UTF8; diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index a7cee5363..1e60d3a1b 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -390,6 +390,8 @@ create table ttrss_access_keys (id serial not null primary key, create table ttrss_linked_instances (id serial not null primary key, last_connected timestamp not null, + last_status_in integer not null, + last_status_out integer not null, access_key varchar(250) not null, access_url text not null); diff --git a/schema/versions/mysql/84.sql b/schema/versions/mysql/84.sql index 7a0ccbfb9..3255d6f56 100644 --- a/schema/versions/mysql/84.sql +++ b/schema/versions/mysql/84.sql @@ -2,6 +2,8 @@ begin; create table ttrss_linked_instances (id integer not null primary key auto_increment, last_connected timestamp not null, + last_status_in integer not null, + last_status_out integer not null, access_key varchar(250) not null, access_url text not null) TYPE=InnoDB DEFAULT CHARSET=UTF8; diff --git a/schema/versions/pgsql/84.sql b/schema/versions/pgsql/84.sql index 77212317b..56c3359c5 100644 --- a/schema/versions/pgsql/84.sql +++ b/schema/versions/pgsql/84.sql @@ -2,6 +2,8 @@ begin; create table ttrss_linked_instances (id serial not null primary key, last_connected datetime not null, + last_status_in integer not null, + last_status_out integer not null, access_key varchar(250) not null, access_url text not null);