pastebin/migrations/2019-11-04-101522_update-language-identifiers/up.sql
Konrad Borowski cbacf5b625 Update language identifiers
This is the last moment to do this, as the /v1/pastes API
will become public soon.
2019-11-04 11:26:10 +01:00

9 lines
251 B
SQL

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;