pastebin/migrations/2019-11-04-101522_update-language-identifiers/down.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 '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;