fix schema

This commit is contained in:
Andrew Dolgov 2007-08-09 09:56:26 +01:00
parent a219fec54d
commit c59d33a3a8
7 changed files with 17 additions and 8 deletions

View file

@ -2,7 +2,7 @@
require_once "functions.php";
define('EXPECTED_CONFIG_VERSION', 7);
define('SCHEMA_VERSION', 18);
define('SCHEMA_VERSION', 19);
if (!file_exists("config.php")) {
print __("<b>Fatal Error</b>: You forgot to copy

View file

@ -189,7 +189,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
insert into ttrss_version values (18);
insert into ttrss_version values (19);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null) TYPE=InnoDB;
@ -286,6 +286,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('_PREFS_ENABLE_PAGINATION', 2, '', '', 1);
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_PUBLISH_KEY', 2, '', '', 1);
create table ttrss_user_prefs (
owner_uid integer not null,
pref_name varchar(250),

View file

@ -173,7 +173,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 (18);
insert into ttrss_version values (19);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null);
@ -266,6 +266,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('_PREFS_ENABLE_PAGINATION', 2, '', '', 1);
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_PUBLISH_KEY', 2, '', '', 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,

View file

@ -0,0 +1,3 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_PUBLISH_KEY', 2, '', '', 1);
update ttrss_version set schema_version = 19;

View file

@ -0,0 +1,3 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_PUBLISH_KEY', 2, '', '', 1);
update ttrss_version set schema_version = 19;

View file

@ -10,7 +10,6 @@ div.cdmArticle {
border-width : 0px 0px 1px 0px;
border-color : #999999;
margin : 0px;
padding : 10px;
background : #f9f9f9;
-moz-border-radius : 0px;
}
@ -19,7 +18,6 @@ div.cdmArticleUnread {
border-width : 0px 0px 1px 0px;
border-color : #999999;
margin : 0px;
padding : 10px;
background : white;
-moz-border-radius : 0px;
}
@ -28,7 +26,6 @@ div.cdmArticleSelected, div.cdmArticleUnreadSelected {
border-width : 0px 0px 1px 0px;
border-color : #999999;
margin : 0px;
padding : 10px;
background : #ffcccc;
-moz-border-radius : 0px;
}

View file

@ -855,6 +855,7 @@ div.cdmArticle {
border-style : solid;
background-color : #fafafa;
margin : 0px;
color : #505050;
/* padding : 10px; */
}
@ -866,9 +867,10 @@ div.cdmArticleUnread {
border-color : #a0a0a0;
border-width : 0px 0px 1px 0px;
border-style : solid;
background-color : #fafeff;
background-color : white;
margin : 0px;
/* padding : 10px; */
color : black;
}
div.cdmArticleSelected, div.cdmArticleUnreadSelected {
@ -941,7 +943,7 @@ div.cdmFooter input, div.cdmHeader input, div.cdmFooter img {
}
div.cdmHeader, div.cdmHeader a {
color : gray;
color : #505050;
font-size : 9pt;
}