1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00
phorge-phorge/resources/sql/autopatches/20140427.mfactor.1.sql

14 lines
586 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_auth.auth_factorconfig (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
userPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
factorKey VARCHAR(64) NOT NULL COLLATE utf8_bin,
factorName LONGTEXT NOT NULL COLLATE utf8_general_ci,
factorSecret LONGTEXT NOT NULL COLLATE utf8_bin,
properties LONGTEXT NOT NULL COLLATE utf8_bin,
dateCreated INT UNSIGNED NOT NULL,
dateModified INT UNSIGNED NOT NULL,
KEY `key_user` (userPHID),
UNIQUE KEY `key_phid` (phid)
) ENGINE=InnoDB, COLLATE utf8_general_ci;