8 lines
425 B
SQL
8 lines
425 B
SQL
CREATE TABLE IF NOT EXISTS vn.productionCountry(
|
|
countryFk MEDIUMINT(8) UNSIGNED NOT NULL,
|
|
volumeGrowthEstimatePercent DECIMAL(6, 2) COMMENT 'Porcentaje estimado de crecimiento del volumen',
|
|
PRIMARY KEY (countryFk),
|
|
CONSTRAINT productionCountryVolume_countryFK
|
|
FOREIGN KEY (countryFk) REFERENCES vn.country (id)
|
|
ON DELETE RESTRICT ON UPDATE CASCADE
|
|
) COMMENT = 'Datos de producción por país' |