]> git.wh0rd.org - tt-rss.git/commitdiff
fix schema
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 9 Aug 2007 08:56:26 +0000 (09:56 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 9 Aug 2007 08:56:26 +0000 (09:56 +0100)
sanity_check.php
schema/ttrss_schema_mysql.sql
schema/ttrss_schema_pgsql.sql
schema/versions/mysql/19.sql [new file with mode: 0644]
schema/versions/pgsql/19.sql [new file with mode: 0644]
themes/graycube/theme.css
tt-rss.css

index 81d9693648652c752f359b7ddb4f09d62c3ecef6..74dca1160fd0fa7c9223aa2fc63b9f8151101165 100644 (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 
index 86261d6f4563b4b163121d746e3368fb958c2cc5..bbc769070da8eae510fe34041d05526873184258 100644 (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),
index 65a528c3af283f392d51b35d10fc137a24f899f8..04abd68a64a4451927d7a342ae92f8d994345943 100644 (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,
diff --git a/schema/versions/mysql/19.sql b/schema/versions/mysql/19.sql
new file mode 100644 (file)
index 0000000..19bb4b2
--- /dev/null
@@ -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;
diff --git a/schema/versions/pgsql/19.sql b/schema/versions/pgsql/19.sql
new file mode 100644 (file)
index 0000000..19bb4b2
--- /dev/null
@@ -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;
index 58263fe5563b355e42b13cabba3476b0382adb6c..33805b2c80a59701bca732a6d94bfa8c48cda4a3 100644 (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;
 }
index 18e59a1d86eb322c5863f3ceaaddd73fc96082d8..39ae0bdc89896fc832fbc6192719a9f7e1c246b1 100644 (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;
 }