]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
And of course it doesn't work for SQLite
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 12 Dec 2016 10:32:20 +0000 (11:32 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 19 Dec 2016 09:35:24 +0000 (10:35 +0100)
build.xml

index 4adf34031217e62c0c7036e6c931ccbc943d38e6..107e912d328a5741381eb2276f87caf76dade896 100644 (file)
--- a/build.xml
+++ b/build.xml
             <arg value="doctrine:database:create"/>
             <arg value="--env=test"/>
         </exec>
+        <!--
+            Looks like it doesn't work and generate an error:
+            There is no table with name '/home/jeremy/github/wallabag/app/..wallabag_entry' in the schema.
+
         <exec executable="php">
             <arg value="${basedir}/bin/console"/>
             <arg value="doctrine:database:import"/>
             <arg value="data/sql/sqlite_base.sql"/>
             <arg value="--env=test"/>
+        </exec> -->
+        <exec executable="php">
+            <arg value="${basedir}/bin/console"/>
+            <arg value="doctrine:schema:create"/>
+            <arg value="--env=test"/>
         </exec>
         <exec executable="php">
             <arg value="${basedir}/bin/console"/>