1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-07 07:09:14 +00:00

schema: wrap upgrade scripts in transaction blocks

This commit is contained in:
Andrew Dolgov
2010-11-10 11:45:28 +03:00
parent bfa0e7921d
commit 90ef9c7da3
4 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
begin;
alter table ttrss_user_entries add column tag_cache text;
update ttrss_user_entries set tag_cache = '';
alter table ttrss_user_entries alter column tag_cache set not null;
update ttrss_version set schema_version = 72;
commit;