summaryrefslogtreecommitdiff
path: root/schema/upgrade-1.1-1.1.1-mysql.sql
blob: 1c26bd8f34fba80218be731b1663646f3451ec6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
begin;

alter table ttrss_entries add column num_comments integer;

update ttrss_entries set num_comments = 0;

alter table ttrss_entries change num_comments num_comments integer not null;
alter table ttrss_entries alter column num_comments set default 0;

insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('COMBINED_DISPLAY_MODE', 1, 'false', 'Combined feed display',2,
	'Display expanded list of feed articles, instead of separate displays for headlines and article content');

commit;