salix/db/versions/.archive/10593-greenLilium/00-firstScript.sql

7 lines
244 B
MySQL
Raw Normal View History

CREATE TABLE `vn`.`vehiclePlateRegex` (
`countryCodeFk` VARCHAR(2) NOT NULL,
`regex` VARCHAR(45) NOT NULL,
PRIMARY KEY (`countryCodeFk`));
ALTER TABLE `vn`.`vehicle`
ADD COLUMN `countryCodeFk` VARCHAR(2) NULL DEFAULT 'ES' AFTER `ppeFk`;