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

9 lines
251 B
MySQL
Raw Normal View History

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