Files
huly-platform/etc/migrations/V1__initial.sql
T
Alexey Aristov deb27df0cf database support
Signed-off-by: Alexey Aristov <aav@acm.org>
2025-08-25 17:02:57 +02:00

17 lines
322 B
SQL

create table blob(
key text not null,
hash text not null
);
create unique index blob_key on blob(key);
create unique index blob_hash on blob(hash);
create table object(
workspace uuid not null,
key text not null,
part int not null,
data jsonb not null,
primary key (workspace, key, part)
)