From afb6038e47f07f3225d783f6ae10c13ef486f89e Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Wed, 30 Apr 2008 07:34:08 +0100
Subject: add ttrss_user_entries.score; bump schema

---
 schema/versions/pgsql/36.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 schema/versions/pgsql/36.sql

(limited to 'schema/versions/pgsql/36.sql')

diff --git a/schema/versions/pgsql/36.sql b/schema/versions/pgsql/36.sql
new file mode 100644
index 000000000..6b61cadf7
--- /dev/null
+++ b/schema/versions/pgsql/36.sql
@@ -0,0 +1,6 @@
+alter table ttrss_user_entries add column score int;
+update ttrss_user_entries set score = 0;
+alter table ttrss_user_entries alter column score set not null;
+alter table ttrss_user_entries alter column score set default 0;
+
+update ttrss_version set schema_version = 36;
-- 
cgit v1.2.3-54-g00ecf

