filename column in training table to prevent duplicates

This commit is contained in:
Riccardo Berto 2021-02-24 10:36:04 +01:00
parent 4943a2a3c0
commit ecd763dad2

View File

@ -1,5 +1,6 @@
create table if not exists training(
id uuid primary key default gen_random_uuid(),
filename text not null,
medium varchar(255) not null,
comment text not null,
data jsonb not null default '{}'