mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
15 lines
578 B
MySQL
15 lines
578 B
MySQL
|
CREATE TABLE {$NAMESPACE}_conpherence.conpherence_index (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
threadPHID VARBINARY(64) NOT NULL,
|
||
|
transactionPHID VARBINARY(64) NOT NULL,
|
||
|
previousTransactionPHID VARBINARY(64),
|
||
|
corpus longtext
|
||
|
CHARACTER SET {$CHARSET_FULLTEXT}
|
||
|
COLLATE {$COLLATE_FULLTEXT}
|
||
|
NOT NULL,
|
||
|
KEY `key_thread` (threadPHID),
|
||
|
UNIQUE KEY `key_transaction` (transactionPHID),
|
||
|
UNIQUE KEY `key_previous` (previousTransactionPHID),
|
||
|
FULLTEXT KEY `key_corpus` (corpus)
|
||
|
) ENGINE=MyISAM DEFAULT CHARSET={$CHARSET} COLLATE={$COLLATE_TEXT};
|