Skip to content

Commit

Permalink
Merge branch 'dev' of github.com-johnnyd-eth:jbx-protocol/juice-inter…
Browse files Browse the repository at this point in the history
…face
  • Loading branch information
johnnyd-eth committed Sep 30, 2024
2 parents b11e165 + 9e6667c commit aa32633
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions supabase/migrations/20240913212505_project_pv_v4_drop.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
ALTER TABLE public.projects
add COLUMN "chain_id" int
DO $
$
BEGIN
IF NOT EXISTS (
SELECT 1
FROM pg_catalog.pg_attribute
WHERE attrelid = 'public.projects'::regclass
AND attname = 'chain_id'
AND NOT attisdropped
) THEN
ALTER TABLE public.projects ADD COLUMN "chain_id" int;
END
IF;
END $$;

0 comments on commit aa32633

Please sign in to comment.