Files
orderservice/internal/repository/postgres/schema.sql
T

6 lines
147 B
SQL

create table if not exists orders (
id uuid primary key,
item varchar(500) not null,
quantity integer not null check (quantity > 0)
);