diff options
author | M <m@lfurio.us> | 2015-11-18 23:48:35 -0500 |
---|---|---|
committer | M <m@lfurio.us> | 2015-11-18 23:48:35 -0500 |
commit | 8b0f72d095fc5cb894c6ed19612d98fb03224d9f (patch) | |
tree | 11a168af64cbbd09b7f6f81928c4042dcc06b607 /schema.sql | |
parent | 359c276b3cd853f0f9688dc5c3d5806be43e9b0b (diff) | |
download | scrott-8b0f72d095fc5cb894c6ed19612d98fb03224d9f.tar.gz scrott-8b0f72d095fc5cb894c6ed19612d98fb03224d9f.zip |
* Draft definitions for pad and stage schemas
Diffstat (limited to '')
-rw-r--r-- | schema.sql | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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`) +); |