Skip to content

Commit

Permalink
migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelieph committed Oct 27, 2023
1 parent b614a38 commit 52b100b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/migrate.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Migrate database schema'
name: "Migrate database schema"

on:
push:
branches:
- main
- update-table-circle-kpi-def
paths:
- 'migrations/**'
- "migrations/**"

jobs:
migrate-database:
Expand All @@ -26,4 +26,4 @@ jobs:
-url="jdbc:postgresql://${{ env.SUPABASE_HOST }}:${{ env.SUPABASE_PORT }}/${{ env.SUPABASE_DB }}?sslmode=require"
-user="${{ env.SUPABASE_USER }}"
-password="${{ secrets.SUPABASE_PASS }}"
migrate
migrate
1 change: 0 additions & 1 deletion migrations/V35__add_is_active_on_circle_kpi_definition.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@

ALTER TABLE public.circle_kpi_definition
ADD is_active boolean not null default true;

0 comments on commit 52b100b

Please sign in to comment.