Files
huike-back/htyws_models/migrations/2022-03-18-061022_modify_daka_tbl/up.sql
T
weli 44c320d8fa chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
2026-04-23 17:20:01 +08:00

24 lines
381 B
SQL

-- Your SQL goes here
alter table daka
drop column daka_date;
alter table daka
add start_date timestamp not null;
alter table daka
drop column student_id;
alter table daka
rename column beizhu to "desc";
alter table daka
add duration_days int not null;
alter table daka
add name varchar not null;
alter table daka
add owner_id varchar not null;