aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-14 16:17:57 -0800
committerfriendica <info@friendica.com>2013-01-14 16:17:57 -0800
commit610dc2823aa12ace2d9d18dda48b93dc4aa63dce (patch)
treeeeac01f0229fc630a09c89c8bf543473b1d6914b /install/database.sql
parentc450049a0ad0e0c38c34c15da1b105fadbba113e (diff)
downloadvolse-hubzilla-610dc2823aa12ace2d9d18dda48b93dc4aa63dce.tar.gz
volse-hubzilla-610dc2823aa12ace2d9d18dda48b93dc4aa63dce.tar.bz2
volse-hubzilla-610dc2823aa12ace2d9d18dda48b93dc4aa63dce.zip
read/write "pages" permissions and fiddly bits - per Thomas
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql14
1 files changed, 9 insertions, 5 deletions
diff --git a/install/database.sql b/install/database.sql
index a4d885541..da377fd5a 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -163,6 +163,8 @@ CREATE TABLE IF NOT EXISTS `channel` (
`channel_a_delegate` tinyint(3) 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',
+ `channel_w_pages` int(10) unsigned NOT NULL DEFAULT '128',
PRIMARY KEY (`channel_id`),
KEY `channel_account_id` (`channel_account_id`),
KEY `channel_primary` (`channel_primary`),
@@ -192,7 +194,9 @@ CREATE TABLE IF NOT EXISTS `channel` (
KEY `channel_expire_days` (`channel_expire_days`),
KEY `channel_a_delegate` (`channel_a_delegate`),
KEY `channel_r_storage` (`channel_r_storage`),
- KEY `channel_w_storage` (`channel_w_storage`)
+ KEY `channel_w_storage` (`channel_w_storage`),
+ KEY `channel_r_pages` (`channel_r_pages`),
+ KEY `channel_w_pages` (`channel_w_pages`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `clients` (
@@ -563,7 +567,7 @@ CREATE TABLE IF NOT EXISTS `notify` (
KEY `parent` (`parent`),
KEY `link` (`link`),
KEY `otype` (`otype`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `outq` (
`outq_hash` char(255) NOT NULL,
@@ -852,9 +856,9 @@ CREATE TABLE IF NOT EXISTS `xlink` (
`xlink_link` char(255) NOT NULL DEFAULT '',
`xlink_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`xlink_id`),
- KEY `xlink_xchan` ( `xlink_xchan` ),
- KEY `xlink_link` ( `xlink_link` ),
- KEY `xlink_updated` ( `xlink_updated` )
+ KEY `xlink_xchan` (`xlink_xchan`),
+ KEY `xlink_link` (`xlink_link`),
+ KEY `xlink_updated` (`xlink_updated`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `xprof` (