pastebin/migrations/2019-11-04-101522_update-language-identifiers/down.sql

9 lines
251 B
MySQL
Raw Normal View History

UPDATE languages SET identifier = CASE identifier
WHEN 'plaintext' THEN 'plain-text'
WHEN 'cpp' THEN 'c-plus-plus'
WHEN 'csharp' THEN 'c-sharp'
WHEN 'python' THEN 'python3'
WHEN 'tsx' THEN 'typescript-jsx'
ELSE identifier
END;