-- migrate:up
CREATE TABLE `wh_bandung` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `quantity` decimal(10,2) DEFAULT NULL,
  `UoM` text NOT NULL,
  `buy_price` decimal(25,2) DEFAULT NULL,
  `categorie_id` int unsigned NOT NULL,
  `media_id` int DEFAULT '0',
  `date` date DEFAULT NULL,
  `part_number` varchar(255) NOT NULL,
  `new_code` varchar(11) DEFAULT '0',
  `lead_time` int NOT NULL DEFAULT '0',
  `loc_id` varchar(25) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `categorie_id` (`categorie_id`),
  KEY `part_number` (`part_number`)
) ENGINE=InnoDB AUTO_INCREMENT=588 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- migrate:down
DROP TABLE IF EXISTS wh_bandung;
