![]() You may now run php artisan migrate to run your migrations (if you have got any). Your project is now set up to use the SQLite database instead of the default MySQL one. In PHPStorm this can be done by right-clicking on the file and selecting Copy Path -> Absolute Path. Please note that DB_DATABASE must be set to the absolute path to the database.sqlite file you have created earlier. Create a file called database.sqlite under /databaseĭB_DATABASE=/home/doru/Documents/Work/oferte-ro/database/database.sqlite # Absolute Path - REMEMBER to create this file for local development.Follow the laravel docs to set up a project.A quick tutorial showcasing how to set up a local SQLite database for a Laravel / Lumen project within PHPStorm and VSCode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |