20260203_diy 653 B

12345678910111213
  1. CREATE TABLE m_diy
  2. (
  3. id bigint AUTO_INCREMENT PRIMARY KEY,
  4. title varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' NULL COMMENT '名称',
  5. image varchar(256) COLLATE utf8mb4_general_ci DEFAULT '' NULL COMMENT '图片地址',
  6. sort int DEFAULT 0 NOT NULL COMMENT '排序',
  7. create_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL COMMENT '创建时间',
  8. update_time datetime DEFAULT CURRENT_TIMESTAMP NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  9. create_user_id bigint NULL COMMENT '创建人id',
  10. update_user_id bigint NULL COMMENT '更新人id',
  11. is_delete bit DEFAULT b'0' NOT NULL COMMENT '是否删除',
  12. diy_data longtext NULL
  13. );