unique trait added to channelss name field
This commit is contained in:
parent
6e6f48a34c
commit
0280ae09ae
@ -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`)
|
||||||
|
Loading…
Reference in New Issue
Block a user