unique trait added to channelss name field

This commit is contained in:
shockrah 2020-08-13 20:47:26 -07:00
parent 6e6f48a34c
commit 0280ae09ae

View File

@ -1,6 +1,6 @@
CREATE TABLE IF NOT EXISTS `channels` (
`id` BIGINT UNSIGNED NOT NULL auto_increment,
`name` VARCHAR(255) NOT NULL,
`name` UNIQUE VARCHAR(255) NOT NULL,
`description` VARCHAR(1024),
`kind` INTEGER NOT NULL,
PRIMARY KEY(`id`), UNIQUE KEY(`name`)