From 36085bc608e08376ce936e35bdcc9440b49a77c2 Mon Sep 17 00:00:00 2001
From: Thomas Willingham <founder@kakste.com>
Date: Tue, 25 Feb 2014 21:12:19 +0000
Subject: Also update database.sql

---
 install/database.sql | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'install/database.sql')

diff --git a/install/database.sql b/install/database.sql
index cd31a0285..ac35f9bc3 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -160,18 +160,18 @@ CREATE TABLE IF NOT EXISTS `channel` (
   `channel_allow_gid` mediumtext NOT NULL,
   `channel_deny_cid` mediumtext NOT NULL,
   `channel_deny_gid` mediumtext NOT NULL,
-  `channel_r_stream` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_r_profile` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_r_photos` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_r_abook` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_stream` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_wall` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_tagwall` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_comment` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_mail` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_photos` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_w_chat` tinyint(3) unsigned NOT NULL DEFAULT '128',
-  `channel_a_delegate` tinyint(3) unsigned NOT NULL DEFAULT '0',
+  `channel_r_stream` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_r_profile` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_r_photos` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_r_abook` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_stream` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_wall` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_tagwall` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_comment` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_mail` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_photos` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_w_chat` int(10) unsigned NOT NULL DEFAULT '128',
+  `channel_a_delegate` int(10) unsigned NOT NULL DEFAULT '0',
   `channel_r_storage` int(10) unsigned NOT NULL DEFAULT '128',
   `channel_w_storage` int(10) unsigned NOT NULL DEFAULT '128',
   `channel_r_pages` int(10) unsigned NOT NULL DEFAULT '128',
-- 
cgit v1.2.3


From 2c72e49d1f63404b464f284d86ce2dce7f2eb493 Mon Sep 17 00:00:00 2001
From: friendica <info@friendica.com>
Date: Tue, 25 Feb 2014 17:55:30 -0800
Subject: more chatroom discovery

---
 install/database.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'install/database.sql')

diff --git a/install/database.sql b/install/database.sql
index ac35f9bc3..5d00afb03 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -1027,6 +1027,17 @@ CREATE TABLE IF NOT EXISTS `xchan` (
   KEY `xchan_follow` (`xchan_follow`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
+CREATE TABLE IF NOT EXISTS `xchat` (
+  `xchat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `xchat_url` char(255) NOT NULL DEFAULT '',
+  `xchat_desc` char(255) NOT NULL DEFAULT '',
+  `xchat_xchan` char(255) NOT NULL DEFAULT '',
+  PRIMARY KEY (`xchat_id`),
+  KEY `xchat_url` (`xchat_url`),
+  KEY `xchat_desc` (`xchat_desc`),
+  KEY `xchat_xchan` (`xchat_xchan`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
 CREATE TABLE IF NOT EXISTS `xconfig` (
   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
   `xchan` char(255) NOT NULL,
-- 
cgit v1.2.3


From e7e97e578b3069b8d24ea2a18ce4d3648b402ca3 Mon Sep 17 00:00:00 2001
From: friendica <info@friendica.com>
Date: Tue, 25 Feb 2014 19:48:13 -0800
Subject: put bookmarked chatrooms into poco

---
 install/database.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'install/database.sql')

diff --git a/install/database.sql b/install/database.sql
index 5d00afb03..2c8bc50c7 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -1032,10 +1032,12 @@ CREATE TABLE IF NOT EXISTS `xchat` (
   `xchat_url` char(255) NOT NULL DEFAULT '',
   `xchat_desc` char(255) NOT NULL DEFAULT '',
   `xchat_xchan` char(255) NOT NULL DEFAULT '',
+  `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
   PRIMARY KEY (`xchat_id`),
   KEY `xchat_url` (`xchat_url`),
   KEY `xchat_desc` (`xchat_desc`),
-  KEY `xchat_xchan` (`xchat_xchan`)
+  KEY `xchat_xchan` (`xchat_xchan`),
+  KEY `xchat_edited` (`xchat_edited`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
 CREATE TABLE IF NOT EXISTS `xconfig` (
-- 
cgit v1.2.3


From fea711ecde2d227b13d410c797f6e67526935010 Mon Sep 17 00:00:00 2001
From: Thomas Willingham <founder@kakste.com>
Date: Fri, 7 Mar 2014 17:27:44 +0000
Subject: Typo in database.sql

---
 install/database.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'install/database.sql')

diff --git a/install/database.sql b/install/database.sql
index 2c8bc50c7..cbfca822c 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -1032,7 +1032,7 @@ CREATE TABLE IF NOT EXISTS `xchat` (
   `xchat_url` char(255) NOT NULL DEFAULT '',
   `xchat_desc` char(255) NOT NULL DEFAULT '',
   `xchat_xchan` char(255) NOT NULL DEFAULT '',
-  `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
+  `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
   PRIMARY KEY (`xchat_id`),
   KEY `xchat_url` (`xchat_url`),
   KEY `xchat_desc` (`xchat_desc`),
-- 
cgit v1.2.3

