-- TODO: somehow make the name colum unique
CREATE TABLE IF NOT EXISTS `channels` (
    `id` BIGINT UNSIGNED NOT NULL auto_increment,
    `name` VARCHAR(255) NOT NULL,
    `description` VARCHAR(1024),
    `kind` INTEGER NOT NULL,
    PRIMARY KEY(`id`), UNIQUE KEY(`name`)
);
