release: 添加index

release-2024-04-25
huangyw 2 months ago
parent decff08a7c
commit a460b1dd1b

@ -15,3 +15,7 @@ create index tb_lottery_user_id_index
create index tb_lottery_user_user_id_index
on tb_lottery_user (user_id);
alter table tb_lottery_user
add constraint tb_lottery_user_pk
unique (lottery_id, user_id);
Loading…
Cancel
Save