-- id's are given back to the user otherwise everything is server sided -- NOTE: the expires column is not explicitly a date because the code required -- to make the DATE field work with diesel is ass and looks annoying CREATE TABLE IF NOT EXISTS `sessions` ( `secret` varchar(255) NOT NULL, `expires` bigint UNSIGNED NOT NULL, PRIMARY KEY(`secret`) );