Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial migrations do not run when using sqlite as db driver #4

Open
coderobe opened this issue Feb 18, 2018 · 1 comment
Open

Initial migrations do not run when using sqlite as db driver #4

coderobe opened this issue Feb 18, 2018 · 1 comment

Comments

@coderobe
Copy link
Contributor

Git Commit: 6b49099d1f813524bfe43a2339b45f9cdb9ab694

PHP Version:

PHP 7.2.2 (cli) (built: Jan 30 2018 19:18:38) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Issue Description:
Using sqlite as database backend errors on php artisan migrate because the default database path (database/database.sqlite) does not exist yet.

Workaround:
touching the file before running the migrations fixes this issue & the database gets populated correctly.

@Elycin
Copy link
Owner

Elycin commented Feb 19, 2018

Being that this isn't exactly a problem with the project, I'll give it a tag.
I'll keep it here for others to see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants