[FIX] Added missing token types to structure
This commit is contained in:
parent
dbce0d38c8
commit
bd97201689
@ -183,9 +183,15 @@ CREATE TABLE IF NOT EXISTS `tokens` (
|
|||||||
CREATE TABLE IF NOT EXISTS `token_types` (
|
CREATE TABLE IF NOT EXISTS `token_types` (
|
||||||
`id` tinyint(4) unsigned NOT NULL AUTO_INCREMENT,
|
`id` tinyint(4) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(25) NOT NULL,
|
`name` varchar(25) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `name` (`name`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
INSERT INTO `token_types` (`id`, `name`) VALUES
|
||||||
|
(1, 'password_reset'),
|
||||||
|
(2, 'confirm_email'),
|
||||||
|
(3, 'invitation');
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `transactions` (
|
CREATE TABLE IF NOT EXISTS `transactions` (
|
||||||
`id` int(255) NOT NULL AUTO_INCREMENT,
|
`id` int(255) NOT NULL AUTO_INCREMENT,
|
||||||
`account_id` int(255) unsigned NOT NULL,
|
`account_id` int(255) unsigned NOT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user