From 4bc760da51ebb36a13edf8b34d3efee0276abaf6 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Sun, 26 Feb 2006 07:39:09 +0100
Subject: add author column to ttrss_entries, add upgrade script for 1.1.4,
 bump schema version

---
 schema/upgrade-1.1.3-1.1.4-mysql.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 schema/upgrade-1.1.3-1.1.4-mysql.sql

(limited to 'schema/upgrade-1.1.3-1.1.4-mysql.sql')

diff --git a/schema/upgrade-1.1.3-1.1.4-mysql.sql b/schema/upgrade-1.1.3-1.1.4-mysql.sql
new file mode 100644
index 000000000..a4e2e7ab5
--- /dev/null
+++ b/schema/upgrade-1.1.3-1.1.4-mysql.sql
@@ -0,0 +1,9 @@
+alter table ttrss_entries add column author varchar(250);
+
+update ttrss_entries set author = ;;;
+
+alter table ttrss_entries change author author varchar(250) not null;
+alter table ttrss_entries alter column author set default '';
+
+update ttrss_version set schema_version = 6;
+
-- 
cgit v1.2.3

