抽奖码增加软删除

This commit is contained in:
Hankin 2024-07-31 14:58:30 +08:00
parent 59cf4babc6
commit 5de712db85
4 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
create table if not EXISTS ufutx_test (
id int(10) unsigned not null auto_increment,
name varchar(100) not null comment "姓名",
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

View File

@ -0,0 +1 @@
drop table if EXISTS ufutx_test;

View File

@ -0,0 +1 @@
alter table `ufutx_lotto_code` drop deleted_at

View File

@ -0,0 +1,2 @@
alter table `ufutx_lotto_codes`
add column deleted_at timestamp default null