]> git.wh0rd.org - tt-rss.git/blob - schema/upgrade-1.1-1.1.1-mysql.sql
add column for slash:comments and alike in ttrss_entries (+ add upgrade scripts for...
[tt-rss.git] / schema / upgrade-1.1-1.1.1-mysql.sql
1 begin;
2
3 alter table ttrss_entries add column num_comments integer;
4
5 update ttrss_entries set num_comments = 0;
6
7 alter table ttrss_entries change num_comments num_comments integer not null;
8 alter table ttrss_entries alter column num_comments set default 0;
9
10 commit;