Skip to content

replace default value in kpi_def (#55) #49

replace default value in kpi_def (#55)

replace default value in kpi_def (#55) #49

Workflow file for this run

name: "Migrate database schema"
on:
push:
branches:
- main
paths:
- "migrations/**"
jobs:
migrate-database:
name: Run Flyway migrations
runs-on: ubuntu-20.04
env:
SUPABASE_HOST: db.fwmiurdtauuyrqhzuwpg.supabase.co
SUPABASE_PORT: 5432
SUPABASE_USER: postgres
SUPABASE_DB: postgres
FLYWAY_BASELINE_ON_MIGRATE: "true"
steps:
- uses: actions/checkout@v2
- run: >-
docker run --rm
--volume ${{ github.workspace }}/migrations:/flyway/sql:ro
flyway/flyway:latest
-url="jdbc:postgresql://${{ env.SUPABASE_HOST }}:${{ env.SUPABASE_PORT }}/${{ env.SUPABASE_DB }}?sslmode=require"
-user="${{ env.SUPABASE_USER }}"
-password="${{ secrets.SUPABASE_PASS }}"
migrate