From 6497fb65b439f02cf145c2d0eb4e40803641fbb4 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@madoka.volgo-balt.ru>
Date: Wed, 18 Nov 2015 14:33:47 +0300
Subject: fix ttrss_feeds.last_update defaulting to 0 on mysql, set to null
 instead

bump schema
---
 schema/ttrss_schema_mysql.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'schema/ttrss_schema_mysql.sql')

diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 296049083..0b16eb2ea 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -101,7 +101,7 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
 	icon_url varchar(250) not null default '',
 	update_interval integer not null default 0,
 	purge_interval integer not null default 0,
-	last_updated datetime default 0,
+	last_updated datetime default null,
 	last_error varchar(250) not null default '',
 	favicon_avg_color varchar(11) default null,
 	site_url varchar(250) not null default '',
@@ -281,7 +281,7 @@ create table ttrss_tags (id integer primary key auto_increment,
 
 create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
-insert into ttrss_version values (129);
+insert into ttrss_version values (130);
 
 create table ttrss_enclosures (id integer primary key auto_increment,
 	content_url text not null,
-- 
cgit v1.2.3-54-g00ecf

