1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/resources/sql/patches/137.auditmetadata.sql

6 lines
180 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_audit.audit_comment
ADD metadata LONGTEXT COLLATE utf8_bin NOT NULL;
UPDATE {$NAMESPACE}_audit.audit_comment
SET metadata = '{}' WHERE metadata = '';