aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-03 17:10:00 -0700
committerredmatrix <git@macgirvin.com>2016-07-03 17:10:00 -0700
commitc918bbba255c4566dcd6c85c06e19646bd178183 (patch)
tree29b07f41c3528c9249b8e4035a2103859705e10a /install/schema_mysql.sql
parent57226b2e1378c2769709a2b2407249cc4e3b14f4 (diff)
downloadvolse-hubzilla-c918bbba255c4566dcd6c85c06e19646bd178183.tar.gz
volse-hubzilla-c918bbba255c4566dcd6c85c06e19646bd178183.tar.bz2
volse-hubzilla-c918bbba255c4566dcd6c85c06e19646bd178183.zip
more work on x permissions
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index d2a5ac85e..223f94162 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -903,6 +903,19 @@ CREATE TABLE IF NOT EXISTS `pconfig` (
UNIQUE KEY `access` (`uid`,`cat`,`k`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+create table if not exists perm_limits {
+ id int(10) not null AUTO_INCREMENT,
+ perm varchar(64) not null default '',
+ channel_id int(10) unsigned not null default 0,
+ perm_limit int(10) unsigned not null default 0,
+ PRIMARY KEY (`id`),
+ KEY `perm` (`perm`),
+ KEY `channel_id` (`channel_id`),
+ KEY `perm_limit` (`perm_limit`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+
CREATE TABLE IF NOT EXISTS `photo` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`aid` int(10) unsigned NOT NULL DEFAULT '0',