Skip to content

Commit fbdfc15

Browse files
committed
Use schema:update instead of schema:create for schema strategy
schema:create fails on PostgreSQL because the "public" schema already exists by default. schema:update --force handles this correctly.
1 parent 7c0bbee commit fbdfc15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ runs:
446446
run: |
447447
$CONSOLE doctrine:database:create --if-not-exists -vvv
448448
if [ "${{ inputs.database_setup }}" = "schema" ]; then
449-
$CONSOLE doctrine:schema:create -vvv
449+
$CONSOLE doctrine:schema:update --force -vvv
450450
else
451451
$CONSOLE doctrine:migrations:migrate -n -vvv
452452
fi

0 commit comments

Comments
 (0)