mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
16 lines
632 B
MySQL
16 lines
632 B
MySQL
|
CREATE TABLE {$NAMESPACE}_dashboard.dashboard_dashboard_ngrams (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectID INT UNSIGNED NOT NULL,
|
||
|
ngram CHAR(3) NOT NULL COLLATE {$COLLATE_TEXT},
|
||
|
KEY `key_object` (objectID),
|
||
|
KEY `key_ngram` (ngram, objectID)
|
||
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|
||
|
|
||
|
CREATE TABLE {$NAMESPACE}_dashboard.dashboard_dashboardpanel_ngrams (
|
||
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||
|
objectID INT UNSIGNED NOT NULL,
|
||
|
ngram CHAR(3) NOT NULL COLLATE {$COLLATE_TEXT},
|
||
|
KEY `key_object` (objectID),
|
||
|
KEY `key_ngram` (ngram, objectID)
|
||
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|