mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
1f1c7a34b7
Summary: Couple of small improvements: - Delete `randomon` macro. - Make name unique (deleting current conflicts randomly). - Image macro must be alone on the line. - Filter by name. Test Plan: Run SQL. /file/macro/ /file/macro/?name=imagemacro Try to create conflicting name. Write this comment: Test imagemacro. imagemacro Reviewers: aran, epriestley Reviewed By: epriestley CC: epriestley, Koolvin Differential Revision: https://secure.phabricator.com/D2230
2 lines
86 B
SQL
2 lines
86 B
SQL
ALTER IGNORE TABLE `phabricator_file`.`file_imagemacro`
|
|
ADD UNIQUE `name` (`name`);
|