1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/resources/sql/patches/121.drydocklog.sql

11 lines
345 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_drydock.drydock_log (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
resourceID INT UNSIGNED,
leaseID INT UNSIGNED,
epoch INT UNSIGNED NOT NULL,
message LONGTEXT COLLATE utf8_general_ci NOT NULL,
KEY (resourceID, epoch),
KEY (leaseID, epoch),
KEY (epoch)
) ENGINE=InnoDB, COLLATE utf8_general_ci;