1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00
ttrss_ynh/source/schema/versions/pgsql/75.sql
2013-11-24 11:03:28 +01:00

10 lines
275 B
PL/PgSQL

begin;
alter table ttrss_feeds add column order_id integer;
update ttrss_feeds set order_id = 0;
alter table ttrss_feeds alter column order_id set not null;
alter table ttrss_feeds alter column order_id set default 0;
update ttrss_version set schema_version = 75;
commit;