ttrss/schema/versions/pgsql/36.sql

7 lines
270 B
SQL

alter table ttrss_user_entries add column score int;
update ttrss_user_entries set score = 0;
alter table ttrss_user_entries alter column score set not null;
alter table ttrss_user_entries alter column score set default 0;
update ttrss_version set schema_version = 36;