SET FOREIGN_KEY_CHECKS = 0;

DROP TABLE IF EXISTS `number_rules`;
DROP TABLE IF EXISTS `finance_records`;
DROP TABLE IF EXISTS `inventory_check_items`;
DROP TABLE IF EXISTS `inventory_checks`;
DROP TABLE IF EXISTS `inventory_logs`;
DROP TABLE IF EXISTS `inventory`;
DROP TABLE IF EXISTS `stock_out_items`;
DROP TABLE IF EXISTS `stock_out_orders`;
DROP TABLE IF EXISTS `stock_in_items`;
DROP TABLE IF EXISTS `stock_in_orders`;
DROP TABLE IF EXISTS `partners`;
DROP TABLE IF EXISTS `warehouses`;
DROP TABLE IF EXISTS `products`;
DROP TABLE IF EXISTS `product_categories`;
DROP TABLE IF EXISTS `licenses`;
DROP TABLE IF EXISTS `users`;
DROP TABLE IF EXISTS `shops`;

SET FOREIGN_KEY_CHECKS = 1;
