schema: drop ip_address from ttrss_sessions

This commit is contained in:
Andrew Dolgov 2006-03-28 04:45:30 +01:00
parent a2e9b45759
commit 3b0f23de40
2 changed files with 4 additions and 0 deletions

View File

@ -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 change rtl_content rtl_content bool not null;
alter table ttrss_feeds alter column rtl_content set default false; 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; update ttrss_version set schema_version = 7;

View File

@ -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 not null;
alter table ttrss_feeds alter column rtl_content set default false; 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; update ttrss_version set schema_version = 7;
commit; commit;