From f8bfb81fd19deb12afb1ddbe09b0b5523e615292 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Sun, 18 Jan 2009 11:46:28 +0100
Subject: schema fixes

---
 schema/ttrss_schema_pgsql.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'schema/ttrss_schema_pgsql.sql')

diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 9778a044f..6c7f9d98a 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -368,6 +368,12 @@ create table ttrss_labels2 (id serial not null primary key,
 	caption varchar(250) not null
 );
 
+INSERT INTO ttrss_labels2 (owner_uid, caption) VALUES (1, 'All Articles');
+
+INSERT INTO ttrss_filters (owner_uid, feed_id, filter_type, reg_exp, enabled, 
+    action_id, action_param, filter_param) 
+    VALUES (1, NULL, 1, '.', true, 7, 'All Articles', 'before');
+
 create table ttrss_user_labels2 (
 	label_id integer not null references ttrss_labels2(id) ON DELETE CASCADE,
 	article_id integer not null references ttrss_entries(id) ON DELETE CASCADE
-- 
cgit v1.2.3-54-g00ecf

