diff options
author | Andrew Dolgov <[email protected]> | 2010-11-07 18:14:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-07 18:14:48 +0300 |
commit | 324944f3329b99e527f12c65e4a0e1358e8f180a (patch) | |
tree | 37b098fa9a066e3dbb0d74584a571fabb749e092 /schema/ttrss_schema_pgsql.sql | |
parent | f3f67c1b53d2d93486fc3c57253b8af4d5e7a0c7 (diff) |
implement per-user timezone support; store dates in UTC internally (closes #254)
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index f4589c769..64d00dda7 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -213,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 (67); +insert into ttrss_version values (68); create table ttrss_enclosures (id serial not null primary key, content_url text not null, @@ -364,6 +364,8 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_THEME_ID', 2, '0', '', 1); +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('USER_TIMEZONE', 2, 'UTC', 'User timezone', 1); + create table ttrss_user_prefs ( owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE, pref_name varchar(250) not null references ttrss_prefs(pref_name) ON DELETE CASCADE, |