Merge branch 'testing' into master
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
-- @id : id of the invite
|
||||
|
||||
-- @expires : unix timestamp of when that invite expries
|
||||
-- can be set to null which means it never expires
|
||||
-- @id : id of the invite which is also its kill date
|
||||
|
||||
-- @uses : can be null which means it doesn't have a use limit
|
||||
|
||||
-- @max_uses : if this is null uses only ever incremented but we don't care for destroying on that parameter
|
||||
-- @expires: boolean that tells wether the key expires or not
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `invites` (
|
||||
`id` bigint UNSIGNED NOT NULL,
|
||||
`expires` bigint,
|
||||
`uses` integer,
|
||||
`max_uses` integer,
|
||||
`id` BIGINT UNIQUE NOT NULL,
|
||||
`uses` BIGINT,
|
||||
`expires` BOOLEAN NOT NULL,
|
||||
PRIMARY KEY( `id` )
|
||||
);
|
||||
|
||||
@@ -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