unique trait added to channelss name field
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
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` VARCHAR(255) NOT NULL,
|
`name` UNIQUE 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`)
|
||||||
|
|||||||
Reference in New Issue
Block a user