8448-devToTest #3373

Merged
alexm merged 98 commits from 8448-devToTest into test 2025-01-21 10:00:50 +00:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit 148ab57b1a - Show all commits

View File

@ -1,8 +1,7 @@
CREATE TABLE IF NOT EXISTS vn.productionCountryVolume( CREATE TABLE IF NOT EXISTS vn.productionCountry(
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
countryFk MEDIUMINT(8) UNSIGNED NOT NULL, countryFk MEDIUMINT(8) UNSIGNED NOT NULL,
estimate DECIMAL(6, 2), volumeGrowthEstimatePercent DECIMAL(6, 2),
PRIMARY KEY (id), PRIMARY KEY (countryFk),
CONSTRAINT productionCountryVolume_countryFK CONSTRAINT productionCountryVolume_countryFK
FOREIGN KEY (countryFk) REFERENCES vn.country (id) FOREIGN KEY (countryFk) REFERENCES vn.country (id)
ON DELETE RESTRICT ON UPDATE CASCADE ON DELETE RESTRICT ON UPDATE CASCADE