 DROP TABLE IF EXISTS `t_dish`;
 CREATE TABLE `t_dish` (
   `id` bigint(20) NOT NULL AUTO_INCREMENT,
-  `category_id` bigint(20) NOT NULL,
+  `category_id` bigint(20) DEFAULT NULL,
   `dish_name` varchar(128) NOT NULL,
   `dish_picture` varchar(256) DEFAULT NULL,
-  `dish_price` float(64,0) NOT NULL,
-  `on_sell` tinyint(1) DEFAULT NULL,
+  `dish_price` float(64,0) DEFAULT 0.0,
+  `on_sell` tinyint(1) DEFAULT 1,
   `misc` varchar(128) DEFAULT NULL,
   `create_at` datetime DEFAULT NULL,
   `update_at` datetime DEFAULT NULL,

CREATE TABLE `t_user_level` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `level_name` varchar(128) NOT NULL,
  `discount` float(32,2) NOT NULL,
  `level_score` int(20) NOT NULL,
  `level_status` tinyint(1) NOT NULL,
  `create_at` datetime DEFAULT NULL,
  `update_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)

  `username` varchar(20) COLLATE utf8_bin NOT NULL,
  `password` varchar(256) COLLATE utf8_bin NOT NULL,
  `cellphone` varchar(16) COLLATE utf8_bin NOT NULL,
  `user_score` bigint(20) DEFAULT 0,
  `user_status` tinyint(1) DEFAULT '1',
  `user_level_id` bigint(20) DEFAULT NULL,
  `create_at` datetime DEFAULT NULL,
  `update_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
