Skip to content

Commit

Permalink
chore(database): fix migration deply action
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Sep 1, 2024
1 parent be32440 commit c263cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/migration-db-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: ./.github/actions/install-dependencies

- name: Install Doppler CLI
run: curl -Ls https://cli.doppler.com/install.sh | sh
uses: dopplerhq/cli-action@v3

- name: Retrieve and export the database URL
run: echo "DATABASE_URL=$(doppler secrets get CONNECTION_STRING --plain)" >> $GITHUB_ENV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

-- AddForeignKey
ALTER TABLE `users` ADD CONSTRAINT `users_role_id_fkey` FOREIGN KEY (`role_id`) REFERENCES `roles`(`id`) ON DELETE RESTRICT ON UPDATE CASCADE;

Expand Down

0 comments on commit c263cf8

Please sign in to comment.