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,22 @@
|
||||
-- Your SQL goes here
|
||||
|
||||
create table kecheng
|
||||
(
|
||||
id varchar not null,
|
||||
group_id varchar,
|
||||
kecheng_name varchar not null,
|
||||
kecheng_desc varchar,
|
||||
teacher_id varchar not null,
|
||||
student_id varchar not null,
|
||||
start_from timestamp not null,
|
||||
end_by timestamp not null,
|
||||
kecheng_status varchar not null
|
||||
);
|
||||
|
||||
create unique index kecheng_id_uindex
|
||||
on kecheng (id);
|
||||
|
||||
alter table kecheng
|
||||
add constraint kecheng_pk
|
||||
primary key (id);
|
||||
|
||||
Reference in New Issue
Block a user