mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
696498934c
Summary: Fixes T2655. Adds generic support for edge edits (e.g., membership or attached objects). Test Plan: See next diff. Reviewers: chad, btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2655 Differential Revision: https://secure.phabricator.com/D5434
24 lines
999 B
SQL
24 lines
999 B
SQL
ALTER TABLE `{$NAMESPACE}_file`.`macro_transaction`
|
|
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
|
|
UPDATE `{$NAMESPACE}_file`.macro_transaction SET metadata = '{}'
|
|
WHERE metadata = '';
|
|
|
|
ALTER TABLE `{$NAMESPACE}_pholio`.`pholio_transaction`
|
|
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
|
|
UPDATE `{$NAMESPACE}_pholio`.pholio_transaction SET metadata = '{}'
|
|
WHERE metadata = '';
|
|
|
|
ALTER TABLE `{$NAMESPACE}_config`.`config_transaction`
|
|
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
|
|
UPDATE `{$NAMESPACE}_config`.config_transaction SET metadata = '{}'
|
|
WHERE metadata = '';
|
|
|
|
ALTER TABLE `{$NAMESPACE}_conpherence`.`conpherence_transaction`
|
|
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
|
|
UPDATE `{$NAMESPACE}_conpherence`.conpherence_transaction SET metadata = '{}'
|
|
WHERE metadata = '';
|
|
|
|
ALTER TABLE `{$NAMESPACE}_phlux`.`phlux_transaction`
|
|
ADD metadata LONGTEXT NOT NULL COLLATE utf8_bin;
|
|
UPDATE `{$NAMESPACE}_phlux`.phlux_transaction SET metadata = '{}'
|
|
WHERE metadata = '';
|