tt-rss/schema/versions/pgsql/41.sql
2008-08-29 08:34:35 +01:00

6 lines
294 B
SQL

alter table ttrss_feed_categories add column order_id int;
update ttrss_feed_categories set order_id = 0;
alter table ttrss_feed_categories alter column order_id set not null;
alter table ttrss_feed_categories alter column order_id set default 0;
update ttrss_version set schema_version = 41;