summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-28 04:45:30 +0100
committerAndrew Dolgov <[email protected]>2006-03-28 04:45:30 +0100
commit3b0f23de404fb1616a80db06b8641d2f44a80291 (patch)
tree6dbf415b700e2dfbd081eb5b1f777368a1aed214 /schema
parenta2e9b4575926fe6a92d2b9976195d42618deeb55 (diff)
schema: drop ip_address from ttrss_sessions
Diffstat (limited to 'schema')
-rw-r--r--schema/upgrade-1.1.4-1.1.5-mysql.sql2
-rw-r--r--schema/upgrade-1.1.4-1.1.5-pgsql.sql2
2 files changed, 4 insertions, 0 deletions
diff --git a/schema/upgrade-1.1.4-1.1.5-mysql.sql b/schema/upgrade-1.1.4-1.1.5-mysql.sql
index 2c48e0390..9fec820f6 100644
--- a/schema/upgrade-1.1.4-1.1.5-mysql.sql
+++ b/schema/upgrade-1.1.4-1.1.5-mysql.sql
@@ -5,5 +5,7 @@ update ttrss_feeds set rtl_content = false;
alter table ttrss_feeds change rtl_content rtl_content bool not null;
alter table ttrss_feeds alter column rtl_content set default false;
+alter table ttrss_sessions drop column ip_address;
+
update ttrss_version set schema_version = 7;
diff --git a/schema/upgrade-1.1.4-1.1.5-pgsql.sql b/schema/upgrade-1.1.4-1.1.5-pgsql.sql
index 67bb7d86c..405daf620 100644
--- a/schema/upgrade-1.1.4-1.1.5-pgsql.sql
+++ b/schema/upgrade-1.1.4-1.1.5-pgsql.sql
@@ -7,6 +7,8 @@ update ttrss_feeds set rtl_content = false;
alter table ttrss_feeds alter column rtl_content set not null;
alter table ttrss_feeds alter column rtl_content set default false;
+alter table ttrss_sessions drop column ip_address;
+
update ttrss_version set schema_version = 7;
commit;