new schema to contain basic channel information

This commit is contained in:
shockrah
2020-03-10 17:59:27 -07:00
parent 8ae877f3f9
commit 7e04e6010a
4 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE `channels`;

View File

@@ -0,0 +1,7 @@
-- i32, String, i32
CREATE TABLE IF NOT EXISTS `channels` (
`id` INTEGER NOT NULL auto_increment,
`name` VARCHAR(255) NOT NULL,
`permissions` INTEGER NOT NULL,
PRIMARY KEY(`id`)
);