salix/db/versions/10906-limeIvy/00-firstScript.sql

6 lines
252 B
MySQL
Raw Normal View History

2024-02-23 11:45:58 +00:00
ALTER TABLE vn.professionalCategory DROP COLUMN IF EXISTS code;
ALTER TABLE IF EXISTS vn.professionalCategory ADD COLUMN code VARCHAR(25) UNIQUE DEFAULT NULL;
UPDATE vn.professionalCategory
SET code = 'driverCE'
WHERE name = 'Conductor C + E';