mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
10 lines
396 B
SQL
10 lines
396 B
SQL
CREATE TABLE `app_access_tokens` (
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`user_id` int NOT NULL,
|
|
`access_code` bigint unsigned NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `access_code` (`access_code`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|