mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
15 lines
607 B
MySQL
15 lines
607 B
MySQL
|
CREATE TABLE {$NAMESPACE}_phortune.phortune_paymentmethod (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
name VARCHAR(255) NOT NULL,
|
||
|
status VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
accountPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
authorPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
expiresEpoch INT UNSIGNED,
|
||
|
metadata LONGTEXT NOT NULL COLLATE utf8_bin,
|
||
|
dateCreated INT UNSIGNED NOT NULL,
|
||
|
dateModified INT UNSIGNED NOT NULL,
|
||
|
UNIQUE KEY `key_phid` (phid),
|
||
|
KEY `key_account` (accountPHID, status)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|