drop table if exists ttrss_users;
drop table if exists ttrss_themes;
+begin;
+
create table ttrss_themes(id integer not null primary key auto_increment,
theme_name varchar(200) not null,
theme_path varchar(200) not null) TYPE=InnoDB;
index (pref_name),
foreign key (pref_name) references ttrss_prefs(pref_name) ON DELETE CASCADE) TYPE=InnoDB;
-
+commit;
drop table ttrss_users;
drop table ttrss_themes;
+begin;
+
create table ttrss_themes(id serial not null primary key,
theme_name varchar(200) not null,
theme_path varchar(200) not null);
create index ttrss_user_prefs_owner_uid_index on ttrss_user_prefs(owner_uid);
create index ttrss_user_prefs_value_index on ttrss_user_prefs(value);
-
+commit;