salix/db/versions/10782-salmonErica/00-firstScript.sql

11 lines
351 B
SQL

CREATE TABLE vn.`agencyModePricePercentage` (
`agencyModeFk` int(11) NOT NULL,
`percentage` double NOT NULL,
PRIMARY KEY (`agencyModeFk`),
CONSTRAINT `agencyModePricePercentage_FK`
FOREIGN KEY (`agencyModeFk`) REFERENCES `agencyMode` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb3
COLLATE=utf8mb3_unicode_ci;