Skip to content

Commit

Permalink
Merge pull request #46 from WomenPlusPlus/update-table-circle-kpi-def
Browse files Browse the repository at this point in the history
Add is_active on circle_kpi_definition table
  • Loading branch information
caracfinlay authored Oct 27, 2023
2 parents b43e329 + 2bdb915 commit cd233a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 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
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
2 changes: 2 additions & 0 deletions migrations/V35__add_is_active_on_circle_kpi_definition.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE public.circle_kpi_definition
ADD is_active boolean not null default true;

0 comments on commit cd233a7

Please sign in to comment.