You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/schema/upgrade-1.1-1.1.1-pgsql.sql

11 lines
254 B
PL/PgSQL

begin;
alter table ttrss_entries add column num_comments integer;
update ttrss_entries set num_comments = 0;
alter table ttrss_entries alter column num_comments set not null;
alter table ttrss_entries alter column num_comments set default 0;
commit;