salix/db/versions/.archive/10570-goldenTulip/02-createSendingService.sql

7 lines
475 B
SQL

CREATE TABLE vn.`sendingService` (
`agencyModeCodeFk` varchar(45) NOT NULL,
`serviceType` varchar(45) NOT NULL DEFAULT '01',
`accountNumber` varchar(100) NOT NULL,
PRIMARY KEY (`agencyModeCodeFk`),
CONSTRAINT `sendingService_agencyModeCodeFk` FOREIGN KEY (`agencyModeCodeFk`) REFERENCES `agencyMode` (`code`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci COMMENT='Configuración de los servicios de Sending';