From 9eaf9c3053e3dc28fd0db097fb043c7b4e0327a5 Mon Sep 17 00:00:00 2001 From: Lukas Schulte Pelkum Date: Thu, 22 Jul 2021 22:44:00 +0200 Subject: [PATCH] Fix postgres migration --- internal/storage/postgres/migrations/000003_add_metadata.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/storage/postgres/migrations/000003_add_metadata.up.sql b/internal/storage/postgres/migrations/000003_add_metadata.up.sql index be9090a..92d2341 100644 --- a/internal/storage/postgres/migrations/000003_add_metadata.up.sql +++ b/internal/storage/postgres/migrations/000003_add_metadata.up.sql @@ -1,5 +1,5 @@ begin; -alter table if exists "pastes" add column "metadata" jsonb not null; +alter table if exists "pastes" add column "metadata" jsonb; commit; \ No newline at end of file