Database in the right spot.

This commit is contained in:
James Cole 2015-02-07 10:32:15 +01:00
parent 577e38759e
commit 1a42bec51c
2 changed files with 103 additions and 102 deletions

View File

@ -48,7 +48,7 @@ return [
'sqlite' => [
'driver' => 'sqlite',
'database' => storage_path().'/database.sqlite',
'database' => realpath(__DIR__ . '/../tests/_data/db.sqlite'),
'prefix' => '',
],

View File

@ -1,5 +1,6 @@
#!/bin/bash
touch tests/_data/db.sqlite
php artisan env
php artisan migrate --seed
sqlite3 tests/_data/db.sqlite .dump > tests/_data/dump.sql
exit 0