feat: refs #8073 #refs 8073 create vn.productionCountryVolume
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Ivan Mas 2024-12-18 13:27:43 +01:00
parent 148b82ea93
commit 1ba23ad450
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS vn.productionCountryVolume(
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
countryFk MEDIUMINT(8) UNSIGNED NOT NULL,
estimate DECIMAL(6, 2),
PRIMARY KEY (id),
CONSTRAINT productionCountryVolume_countryFK
FOREIGN KEY (countryFk) REFERENCES vn.country (id)
ON DELETE RESTRICT ON UPDATE CASCADE
) COMMENT = 'Estimación del crecimiento por país'