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/20130927.audiomacro.sql
epriestley 7091dad606 Allow macros to have associated audio and audio behaviors
Summary: Ref T3887. Implements storage and editors, but not the actual audio part.

Test Plan: Edited audio, audio behaviors of macros. Transactions and email looked good. Hit error cases.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3887

Differential Revision: https://secure.phabricator.com/D7159
2013-09-27 16:01:37 -07:00

8 lines
301 B
SQL

ALTER TABLE {$NAMESPACE}_file.file_imagemacro
ADD audioPHID VARCHAR(64) COLLATE utf8_bin;
ALTER TABLE {$NAMESPACE}_file.file_imagemacro
ADD audioBehavior VARCHAR(64) NOT NULL COLLATE utf8_bin;
UPDATE {$NAMESPACE}_file.file_imagemacro
SET audioBehavior = 'audio:none' WHERE audioBehavior = '';