diff options
author | Andrew Dolgov <[email protected]> | 2010-10-27 12:05:20 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-10-27 12:05:20 +0400 |
commit | 25ea280502fbb0fb7fc51f355df8fc644dfc994d (patch) | |
tree | 1a2eb0a3a5f6d98702ac9340dbb33ee6ebf17a1e /schema/ttrss_schema_pgsql.sql | |
parent | 70543b6a400f292c6ed03d0489d0d696d1e13606 (diff) |
add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema)
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 7225f10f8..ea5465dac 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -117,7 +117,8 @@ create table ttrss_entries (id serial not null primary key, content text not null, content_hash varchar(250) not null, no_orig_date boolean not null default false, - date_entered timestamp not null default NOW(), + date_entered timestamp not null, + date_updated timestamp not null, num_comments integer not null default 0, comments varchar(250) not null default '', author varchar(250) not null default ''); @@ -212,7 +213,7 @@ create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid); create table ttrss_version (schema_version int not null); -insert into ttrss_version values (66); +insert into ttrss_version values (67); create table ttrss_enclosures (id serial not null primary key, content_url text not null, |