]> git.wh0rd.org Git - tt-rss.git/commitdiff
add schema/upgrade-1.0.6-1.0.7.sql
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 1 Nov 2005 09:00:18 +0000 (10:00 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 1 Nov 2005 09:00:18 +0000 (10:00 +0100)
schema/upgrade-1.0.6-1.0.7.sql [new file with mode: 0644]

diff --git a/schema/upgrade-1.0.6-1.0.7.sql b/schema/upgrade-1.0.6-1.0.7.sql
new file mode 100644 (file)
index 0000000..b3062d0
--- /dev/null
@@ -0,0 +1,7 @@
+alter table ttrss_feeds add column last_error text;
+
+update ttrss_feeds set not last_error = '';
+
+alter table ttrss_feeds alter column last_error set not null;
+alter table ttrss_feeds alter column last_error set default '';
+