Files
workspace/code/app/app-go/db/meal.sql
T
2026-06-30 17:31:26 +08:00

19 lines
507 B
SQL

drop table if exists b_meal_dish_step;
create table b_meal_dish_step (
id bigint primary key,
family_id bigint not null,
dish_id bigint not null,
step_number int not null,
description varchar(1024) default '',
image_file_key varchar(512) default '',
sort_number int not null default 0,
create_time timestamp,
update_time timestamp,
create_by bigint,
update_by bigint
);
create index idx_b_meal_dish_step_dish
on b_meal_dish_step (family_id, dish_id, sort_number, step_number, id);