summaryrefslogtreecommitdiffstats
path: root/schema.sql
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-11-18 23:48:35 -0500
committerM <m@lfurio.us>2015-11-18 23:48:35 -0500
commit8b0f72d095fc5cb894c6ed19612d98fb03224d9f (patch)
tree11a168af64cbbd09b7f6f81928c4042dcc06b607 /schema.sql
parent359c276b3cd853f0f9688dc5c3d5806be43e9b0b (diff)
downloadscrott-8b0f72d095fc5cb894c6ed19612d98fb03224d9f.tar.gz
scrott-8b0f72d095fc5cb894c6ed19612d98fb03224d9f.zip
* Draft definitions for pad and stage schemas
Diffstat (limited to '')
-rw-r--r--schema.sql24
1 files changed, 24 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
index 78ad375..26f7d8e 100644
--- a/schema.sql
+++ b/schema.sql
@@ -66,3 +66,27 @@ CREATE TABLE `group` (
PRIMARY KEY (`id`)
);
+
+DROP TABLE IF EXISTS `pad`;
+CREATE TABLE `pad` (
+ `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`)
+);
+
+DROP TABLE IF EXISTS `stage`;
+CREATE TABLE `stage` (
+ `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,
+ `parent` varchar(10) NOT NULL,
+ /* TODO -- wip */
+
+ PRIMARY KEY (`id`)
+);