You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 line
520 B

  1. -- 医院列表
  2. CREATE TABLE `hospital` (
  3. `id` int(11) NOT NULL AUTO_INCREMENT,
  4. `name` varchar(100) NOT NULL COMMENT '医院名称',
  5. `sort` int(11) DEFAULT 0 COMMENT '排序(越大越前)',
  6. `is_show` tinyint(1) DEFAULT 1 COMMENT '是否展示: 1是 0否',
  7. `is_deleted` tinyint(1) DEFAULT 0 COMMENT '软删除: 0正常 1已删除',
  8. `create_time` datetime DEFAULT CURRENT_TIMESTAMP,
  9. `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  10. PRIMARY KEY (`id`)
  11. ) COMMENT='医院列表';