summaryrefslogtreecommitdiffstats
path: root/schema.sql
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-11-18 22:04:33 -0500
committerM <m@lfurio.us>2015-11-18 22:04:33 -0500
commit359c276b3cd853f0f9688dc5c3d5806be43e9b0b (patch)
tree931d42e07f74bab81f841697ec0805996d1e584b /schema.sql
parentc94008be7dad72d4fee27aa0e39d5c286d22c292 (diff)
downloadscrott-359c276b3cd853f0f9688dc5c3d5806be43e9b0b.tar.gz
scrott-359c276b3cd853f0f9688dc5c3d5806be43e9b0b.zip
+ Defined group table
Diffstat (limited to '')
-rw-r--r--schema.sql18
1 files changed, 8 insertions, 10 deletions
diff --git a/schema.sql b/schema.sql
index f29948f..78ad375 100644
--- a/schema.sql
+++ b/schema.sql
@@ -56,15 +56,13 @@ CREATE TABLE `user` (
PRIMARY KEY (`id`)
);
-
-
-
-
-
DROP TABLE IF EXISTS `group`;
CREATE TABLE `group` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `guid` varchar(10) NOT NULL,
- `owner` varchar(10) NOT NULL,
- `name` varchar(50) NOT NULL,
- /* TODO -- wip */
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `guid` varchar(10) NOT NULL,
+ `owner` varchar(10) NOT NULL,
+ `perms` int(10) unsigned NOT NULL,
+ `name` varchar(50) NOT NULL,
+
+ PRIMARY KEY (`id`)
+);