10 lines
360 B
MySQL
10 lines
360 B
MySQL
|
|
-- Schema for boxes table
|
||
|
|
CREATE TABLE IF NOT EXISTS `boxes` (
|
||
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
|
|
`shipment_id` int(11) NOT NULL,
|
||
|
|
`length` decimal(5,1) NOT NULL,
|
||
|
|
`width` decimal(5,1) NOT NULL,
|
||
|
|
`height` decimal(5,1) NOT NULL,
|
||
|
|
`weight` decimal(5,1) NOT NULL,
|
||
|
|
PRIMARY KEY (`id`)
|
||
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|