unique trait added to channelss name field
This commit is contained in:
1 parent
6e6f48a34c
commit
0280ae09ae
1 file changed
+1
-1
@@ -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`)
|
||||
|
||||
Reference in new issue
Block a user