removing unique restriction from channel name (for now i hope)
This commit is contained in:
parent
06c81ce2f2
commit
3824546bba
@ -1,6 +1,7 @@
|
|||||||
|
-- TODO: somehow make the name colum unique
|
||||||
CREATE TABLE IF NOT EXISTS `channels` (
|
CREATE TABLE IF NOT EXISTS `channels` (
|
||||||
`id` BIGINT UNSIGNED NOT NULL auto_increment,
|
`id` BIGINT UNSIGNED NOT NULL auto_increment,
|
||||||
`name` UNIQUE VARCHAR(255) NOT NULL,
|
`name` VARCHAR(255) NOT NULL,
|
||||||
`description` VARCHAR(1024),
|
`description` VARCHAR(1024),
|
||||||
`kind` INTEGER NOT NULL,
|
`kind` INTEGER NOT NULL,
|
||||||
PRIMARY KEY(`id`), UNIQUE KEY(`name`)
|
PRIMARY KEY(`id`), UNIQUE KEY(`name`)
|
||||||
|
Loading…
Reference in New Issue
Block a user