2020-01-23 13:59:37 +00:00
|
|
|
CREATE TABLE `vn`.`customsAgent` (
|
2020-01-24 08:47:24 +00:00
|
|
|
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
|
|
|
`fiscalName` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
|
|
`street` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
|
|
`nif` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
|
|
`phone` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
|
|
`email` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
2020-01-23 13:59:37 +00:00
|
|
|
|
|
|
|
ALTER TABLE `vn`.`customsAgent`
|
2020-01-24 08:47:24 +00:00
|
|
|
ADD UNIQUE KEY `nif_UNIQUE` (`nif`);
|