
! Initial id size will stay as u64 but u128 are easily the next major change This change shouldn't break clients written in high level languages since most already use 128's under the hood anyway - This commit also removes the auto_increment flag from basically everything that uses RNG id's
9 lines
260 B
SQL
9 lines
260 B
SQL
-- TODO: somehow make the name colum unique
|
|
CREATE TABLE IF NOT EXISTS `channels` (
|
|
`id` BIGINT UNSIGNED NOT NULL,
|
|
`name` VARCHAR(255) NOT NULL,
|
|
`description` VARCHAR(2048),
|
|
`kind` INTEGER NOT NULL,
|
|
PRIMARY KEY(`id`), UNIQUE KEY(`name`)
|
|
);
|