From 567810362c08bb66a81435a9280d34efec9a628f Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 18 Nov 2010 12:56:21 +0300
Subject: schema: add ttrss_feeds.order_id

---
 schema/versions/mysql/75.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 schema/versions/mysql/75.sql

(limited to 'schema/versions/mysql/75.sql')

diff --git a/schema/versions/mysql/75.sql b/schema/versions/mysql/75.sql
new file mode 100644
index 000000000..c9017b9e9
--- /dev/null
+++ b/schema/versions/mysql/75.sql
@@ -0,0 +1,10 @@
+begin;
+
+alter table ttrss_feeds add column order_id integer;
+update ttrss_feeds set order_id = 0;
+alter table ttrss_feeds change order_id order_id integer not null;
+alter table ttrss_feeds alter column order_id set default 0;
+
+update ttrss_version set schema_version = 75;
+
+commit;
-- 
cgit v1.2.3

