mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-04-01 07:04:38 -05:00
21 lines
748 B
SQL
21 lines
748 B
SQL
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;
|