fixup! Manually import file for PostgreSQL

This commit is contained in:
Jeremy Benoist 2016-12-12 11:55:37 +01:00
parent bd8db77f5f
commit d9efa42f66
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View file

@ -139,12 +139,6 @@
<arg value="doctrine:database:create"/>
<arg value="--env=test"/>
</exec>
<exec executable="php">
<arg value="${basedir}/bin/console"/>
<arg value="doctrine:database:import"/>
<arg value="data/sql/pgsql_base.sql"/>
<arg value="--env=test"/>
</exec>
<exec executable="psql">
<arg value="-h"/>
<arg value="localhost"/>
@ -155,6 +149,12 @@
<arg value="-f"/>
<arg value="data/sql/pgsql_base.sql"/>
</exec>
<exec executable="php">
<arg value="${basedir}/bin/console"/>
<arg value="doctrine:migrations:migrate"/>
<arg value="--no-interaction"/>
<arg value="--env=test"/>
</exec>
<exec executable="php">
<arg value="${basedir}/bin/console"/>
<arg value="doctrine:fixtures:load"/>