pasty/internal/storage/postgres/migrations/000003_add_metadata.up.sql

5 lines
85 B
PL/PgSQL

begin;
alter table if exists "pastes" add column "metadata" jsonb not null;
commit;