1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/resources/sql/autopatches/20150930.drydock.log.1.sql

26 lines
673 B
MySQL
Raw Normal View History

TRUNCATE {$NAMESPACE}_drydock.drydock_log;
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
DROP resourceID;
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
DROP leaseID;
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
DROP message;
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
ADD blueprintPHID VARBINARY(64);
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
ADD resourcePHID VARBINARY(64);
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
ADD leasePHID VARBINARY(64);
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
ADD type VARCHAR(64) NOT NULL COLLATE {$COLLATE_TEXT};
ALTER TABLE {$NAMESPACE}_drydock.drydock_log
ADD data LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT};