Added database example. Modified place for a database to be database folder.

This commit is contained in:
kplaczek
2018-10-04 18:58:11 +02:00
parent 954cadd874
commit efad44ea57
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
Homestead.json Homestead.json
Homestead.yaml Homestead.yaml
.env .env
database/printer.db

View File

@@ -35,7 +35,7 @@ return [
'sqlite' => [ 'sqlite' => [
'driver' => 'sqlite', 'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')), 'database' => database_path(env('DB_DATABASE','database.sqlite')),
'prefix' => '', 'prefix' => '',
], ],

BIN
database/printer_example.db Normal file

Binary file not shown.