13 lines
523 B
SQL
13 lines
523 B
SQL
CREATE TABLE `vn`.`customsAgent` (
|
|
`id` int(11) NOT NULL,
|
|
`fiscalName` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
|
|
`street` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
|
|
`nif` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
|
|
`phone` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
|
|
`email` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
|
ALTER TABLE `vn`.`customsAgent`
|
|
ADD PRIMARY KEY (`id`),
|
|
ADD UNIQUE KEY `nif_UNIQUE` (`nif`);
|
|
COMMIT; |