9 lines
259 B
SQL
9 lines
259 B
SQL
create table public.t_slot (
|
|
created timestamp default CURRENT_TIMESTAMP,
|
|
pk_slot int primary key generated always as identity,
|
|
name text,
|
|
fk_plan int not null references public.t_plan(pk_plan),
|
|
start_time time not null,
|
|
end_time time not null
|
|
);
|