1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/resources/sql/patches/069.heraldxscript.sql

10 lines
289 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_herald.herald_transcript
ADD garbageCollected BOOL NOT NULL DEFAULT 0;
UPDATE {$NAMESPACE}_herald.herald_transcript
SET garbageCollected = 1
WHERE objectTranscript = "";
ALTER TABLE {$NAMESPACE}_herald.herald_transcript
ADD KEY (garbageCollected, time);