9 lines
251 B
MySQL
9 lines
251 B
MySQL
|
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;
|