]> git.wh0rd.org Git - tt-rss.git/commitdiff
add missing schema files for version 86
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 4 Oct 2011 09:57:35 +0000 (13:57 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 4 Oct 2011 09:57:35 +0000 (13:57 +0400)
schema/versions/mysql/86.sql [new file with mode: 0644]
schema/versions/pgsql/86.sql [new file with mode: 0644]

diff --git a/schema/versions/mysql/86.sql b/schema/versions/mysql/86.sql
new file mode 100644 (file)
index 0000000..c8979b2
--- /dev/null
@@ -0,0 +1,9 @@
+begin;
+
+alter table ttrss_user_entries add column uuid varchar(200);
+update ttrss_user_entries set uuid = '';
+alter table ttrss_user_entries change uuid uuid varchar(200) not null;
+
+update ttrss_version set schema_version = 86;
+
+commit;
diff --git a/schema/versions/pgsql/86.sql b/schema/versions/pgsql/86.sql
new file mode 100644 (file)
index 0000000..1f311b6
--- /dev/null
@@ -0,0 +1,9 @@
+begin;
+
+alter table ttrss_user_entries add column uuid varchar(200);
+update ttrss_user_entries set uuid = '';
+alter table ttrss_user_entries alter column uuid set not null;
+
+update ttrss_version set schema_version = 86;
+
+commit;