Add columns to patches db table

This commit is contained in:
Jared Schoeny
2025-12-09 23:55:55 -10:00
parent 59de8137cc
commit bc398fa236
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
alter table if exists public.patches
add column if not exists published boolean not null default true;
alter table if exists public.patches
add column if not exists published_at timestamp with time zone default now();
alter table if exists public.patches
add column if not exists updated_at timestamp with time zone not null default now();
alter table if exists public.patches
add column if not exists changelog text;
alter table if exists public.patches
add column if not exists breaks_saves boolean not null default false;
alter table if exists public.patches
add column if not exists archived boolean not null default false;
alter table if exists public.patches
add column if not exists archived_at timestamp with time zone;