diff options
-rw-r--r-- | build.xml | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -98,11 +98,20 @@ | |||
98 | <arg value="doctrine:database:create"/> | 98 | <arg value="doctrine:database:create"/> |
99 | <arg value="--env=test"/> | 99 | <arg value="--env=test"/> |
100 | </exec> | 100 | </exec> |
101 | <!-- | ||
102 | Looks like it doesn't work and generate an error: | ||
103 | There is no table with name '/home/jeremy/github/wallabag/app/..wallabag_entry' in the schema. | ||
104 | |||
101 | <exec executable="php"> | 105 | <exec executable="php"> |
102 | <arg value="${basedir}/bin/console"/> | 106 | <arg value="${basedir}/bin/console"/> |
103 | <arg value="doctrine:database:import"/> | 107 | <arg value="doctrine:database:import"/> |
104 | <arg value="data/sql/sqlite_base.sql"/> | 108 | <arg value="data/sql/sqlite_base.sql"/> |
105 | <arg value="--env=test"/> | 109 | <arg value="--env=test"/> |
110 | </exec> --> | ||
111 | <exec executable="php"> | ||
112 | <arg value="${basedir}/bin/console"/> | ||
113 | <arg value="doctrine:schema:create"/> | ||
114 | <arg value="--env=test"/> | ||
106 | </exec> | 115 | </exec> |
107 | <exec executable="php"> | 116 | <exec executable="php"> |
108 | <arg value="${basedir}/bin/console"/> | 117 | <arg value="${basedir}/bin/console"/> |