1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 08:20:57 +01:00
phorge-phorge/resources/sql/autopatches/20150105.conpsearch.sql

15 lines
578 B
MySQL
Raw Normal View History

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