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
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- Your SQL goes here
|
||||
|
||||
create table kecheng_teacher
|
||||
(
|
||||
id varchar not null,
|
||||
teacher_id varchar not null,
|
||||
kecheng_name varchar not null,
|
||||
kecheng_status varchar not null,
|
||||
kecheng_desc varchar,
|
||||
start_from timestamp not null,
|
||||
end_by timestamp not null
|
||||
);
|
||||
|
||||
create unique index kecheng_teacher_id_uindex
|
||||
on kecheng_teacher (id);
|
||||
|
||||
alter table kecheng_teacher
|
||||
add constraint kecheng_teacher_pk
|
||||
primary key (id);
|
||||
|
||||
Reference in New Issue
Block a user