From ecd763dad25da371339078ff1d34fe2afd18b5bd Mon Sep 17 00:00:00 2001 From: Riccardo Berto Date: Wed, 24 Feb 2021 10:36:04 +0100 Subject: [PATCH] filename column in training table to prevent duplicates --- init.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sql b/init.sql index ea22502..c4d4538 100644 --- a/init.sql +++ b/init.sql @@ -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 '{}'