|
|
|
@ -30,15 +30,6 @@ drop function SUBSTRING_FOR_DATE(timestamp, int, int);
|
|
|
|
|
|
|
|
|
|
begin;
|
|
|
|
|
|
|
|
|
|
create table ttrss_themes(id serial not null primary key,
|
|
|
|
|
theme_name varchar(200) not null,
|
|
|
|
|
theme_path varchar(200) not null);
|
|
|
|
|
|
|
|
|
|
insert into ttrss_themes (theme_name, theme_path) values ('Old-skool', 'compat');
|
|
|
|
|
insert into ttrss_themes (theme_name, theme_path) values ('Graycube', 'graycube');
|
|
|
|
|
insert into ttrss_themes (theme_name, theme_path) values ('Default (Compact)', 'compact');
|
|
|
|
|
insert into ttrss_themes (theme_name, theme_path) values ('Three-pane', '3pane');
|
|
|
|
|
|
|
|
|
|
create table ttrss_users (id serial not null primary key,
|
|
|
|
|
login varchar(120) not null unique,
|
|
|
|
|
pwd_hash varchar(250) not null,
|
|
|
|
@ -49,8 +40,7 @@ create table ttrss_users (id serial not null primary key,
|
|
|
|
|
email_digest boolean not null default false,
|
|
|
|
|
last_digest_sent timestamp default null,
|
|
|
|
|
twitter_oauth text default null,
|
|
|
|
|
created timestamp default null,
|
|
|
|
|
theme_id integer references ttrss_themes(id) default null);
|
|
|
|
|
created timestamp default null);
|
|
|
|
|
|
|
|
|
|
insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
|
|
|
|
|
'SHA1:5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 10);
|
|
|
|
|