1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/resources/sql/patches/042.commentmetadata.sql

12 lines
379 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_differential.differential_comment
ADD metadata LONGBLOB NOT NULL;
UPDATE {$NAMESPACE}_differential.differential_comment
SET metadata = '{}' WHERE metadata = '';
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_transaction
ADD metadata LONGBLOB NOT NULL;
UPDATE {$NAMESPACE}_maniphest.maniphest_transaction
SET metadata = '{}' WHERE metadata = '';