Skip to content

Commit

Permalink
fix(postgres): skip db recreate for local env
Browse files Browse the repository at this point in the history
  • Loading branch information
keskiju committed Dec 18, 2024
1 parent c1834b7 commit b27eb34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/postgres-db/db-recreate-50
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# shellcheck source=lib/all.bash
. "${taito_plugin_path:?}/lib/all.bash"

# On local environment we skip postgres plugin command, as database container is just deleted
[[ ${taito_env} != "local" ]] || taito::skip_to_next "${@}"

confirm_default=$([[ $taito_mode == "ci" ]] && echo 'yes' || echo 'no')

if [[ ${database_type:-} == "pg" ]] || [[ -z "${database_type}" ]]; then
Expand Down

0 comments on commit b27eb34

Please sign in to comment.