dict.sql 678 B

1234567891011121314151617181920212223
  1. -- -- drop table if exists dictlist;
  2. -- create table dictlist(
  3. -- id int(11) not null auto_increment,
  4. -- type_name varchar(50) not null,
  5. -- type_id int(11) not null,
  6. -- value varchar(50) not null,
  7. -- primary key (id),
  8. -- index `dict_name` (type_name)
  9. -- )ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '字典';
  10. insert into dictlist (type_name,type_id,value) values
  11. -- ('remind_type','1','立即'),
  12. -- ('remind_type','2','延时'),
  13. -- ('remind_type','3','循环'),
  14. ('cycle_type','1','单次'),
  15. ('cycle_type','2','多次'),
  16. ('cycle_type','3','循环至任务结束'),
  17. ('date_type','1','每日'),
  18. ('date_type','2','每周'),
  19. ('date_type','3','每月');