diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-12 11:55:37 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-19 10:35:24 +0100 |
commit | d9efa42f6619a0b0784e6e28b9b7f2784b2f71d3 (patch) | |
tree | b7230270cfff26985701c27831d735a5940abe24 /build.xml | |
parent | bd8db77f5f8a5ee9cc1f2d2b10413292e1844a80 (diff) | |
download | wallabag-d9efa42f6619a0b0784e6e28b9b7f2784b2f71d3.tar.gz wallabag-d9efa42f6619a0b0784e6e28b9b7f2784b2f71d3.tar.zst wallabag-d9efa42f6619a0b0784e6e28b9b7f2784b2f71d3.zip |
fixup! Manually import file for PostgreSQL
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -139,12 +139,6 @@ | |||
139 | <arg value="doctrine:database:create"/> | 139 | <arg value="doctrine:database:create"/> |
140 | <arg value="--env=test"/> | 140 | <arg value="--env=test"/> |
141 | </exec> | 141 | </exec> |
142 | <exec executable="php"> | ||
143 | <arg value="${basedir}/bin/console"/> | ||
144 | <arg value="doctrine:database:import"/> | ||
145 | <arg value="data/sql/pgsql_base.sql"/> | ||
146 | <arg value="--env=test"/> | ||
147 | </exec> | ||
148 | <exec executable="psql"> | 142 | <exec executable="psql"> |
149 | <arg value="-h"/> | 143 | <arg value="-h"/> |
150 | <arg value="localhost"/> | 144 | <arg value="localhost"/> |
@@ -157,6 +151,12 @@ | |||
157 | </exec> | 151 | </exec> |
158 | <exec executable="php"> | 152 | <exec executable="php"> |
159 | <arg value="${basedir}/bin/console"/> | 153 | <arg value="${basedir}/bin/console"/> |
154 | <arg value="doctrine:migrations:migrate"/> | ||
155 | <arg value="--no-interaction"/> | ||
156 | <arg value="--env=test"/> | ||
157 | </exec> | ||
158 | <exec executable="php"> | ||
159 | <arg value="${basedir}/bin/console"/> | ||
160 | <arg value="doctrine:fixtures:load"/> | 160 | <arg value="doctrine:fixtures:load"/> |
161 | <arg value="--no-interaction"/> | 161 | <arg value="--no-interaction"/> |
162 | <arg value="--env=test"/> | 162 | <arg value="--env=test"/> |