song_update_20250305.sql 463 B

12345678910111213141516
  1. create table account_detail
  2. (
  3. id bigint auto_increment
  4. primary key,
  5. ssid varchar(64) not null comment 'ssid',
  6. type varchar(64) null comment '类型',
  7. value bigint null comment '积分',
  8. create_time datetime null comment '创建时间'
  9. )
  10. comment '账户明细表';
  11. create index idx_create_time_type
  12. on account_detail (create_time, type);
  13. create index idx_ssid
  14. on account_detail (ssid);