tt-rss/schema/versions/pgsql/7.sql
2007-02-24 17:46:39 +01:00

22 рядки
704 Б
PL/PgSQL

begin;
alter table ttrss_feeds add column rtl_content boolean;
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;
delete from ttrss_user_prefs where pref_name = 'DISPLAY_FEEDLIST_ACTIONS';
delete from ttrss_prefs where pref_name = 'DISPLAY_FEEDLIST_ACTIONS';
delete from ttrss_user_prefs where pref_name = 'ENABLE_PREFS_CATCHUP_UNCATCHUP';
delete from ttrss_prefs where pref_name = 'ENABLE_PREFS_CATCHUP_UNCATCHUP';
alter table ttrss_filters drop column description;
update ttrss_version set schema_version = 7;
commit;