mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
12 lines
440 B
MySQL
12 lines
440 B
MySQL
|
CREATE TABLE {$NAMESPACE}_auth.auth_temporarytoken (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
tokenType VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
tokenExpires INT UNSIGNED NOT NULL,
|
||
|
tokenCode VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
|
||
|
UNIQUE KEY `key_token` (objectPHID, tokenType, tokenCode),
|
||
|
KEY `key_expires` (tokenExpires)
|
||
|
|
||
|
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|