1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 01:38:48 +02:00
phorge-phorge/resources/sql/patches/046.conduittoken.sql
2011-06-20 05:59:42 -07:00

12 lines
423 B
SQL

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);