Using Mac OS X and Laravel 5.8 with package voyager
database config: config/database.php
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE/..', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => true,//env('DB_FOREIGN_KEYS', true),
],
env config .env
DB_CONNECTION=sqlite
DB_DATABASE=database\database.sqlite
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire