create table delivery(
delivery_id serial primary key,
address_id int references address(address_id) not null,
delivery_date date not null,
time_range text[] not null,
staff_id int references staff(staff_id) not null,
status del_status not null default 'в обработке',
last_update timestamp,
create_date timestamp default now(),
deleted boolean not null default false
)
select * from delivery
Помогите пожалуйста решить проблему.