mirror of
https://we.phorge.it/source/phorge.git
synced 2024-09-20 09:18:48 +02:00
13 lines
424 B
MySQL
13 lines
424 B
MySQL
|
CREATE TABLE phabricator_conduit.conduit_certificatetoken (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
userPHID VARCHAR(64) BINARY NOT NULL,
|
||
|
token VARCHAR(64),
|
||
|
dateCreated INT UNSIGNED NOT NULL,
|
||
|
dateModified INT UNSIGNED NOT NULL,
|
||
|
);
|
||
|
|
||
|
ALTER TABLE phabricator_conduit.conduit_certificatetoken
|
||
|
ADD UNIQUE KEY (userPHID);
|
||
|
ALTER TABLE phabricator_conduit.conduit_certificatetoken
|
||
|
ADD UNIQUE KEY (token);
|