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
PDOException on "php artisan migrate" step #2
Comments
Are you using Homestead? It looks like this issue is relevant: Updating the Laravel version should fix this, see fix in 060fb92 Once you do a pull be sure to do another composer install |
I am not using homestead. I’m trying to setup a production server (lamp stack on 16.04). I’ll read through that article and see if I can figure it out. Dustin Krysak On May 25, 2016 at 5:45:55 AM, jonstavis (notifications@github.commailto:notifications@github.com) wrote: Are you using Homestead? It looks like this issue is relevant: laravel/framework#3602laravel/framework#3602 Updating the Laravel version should fix this, see fix in 060fb92060fb92 — |
Here is the “workaround”. Edit config/database.php and under the mysql section set “strict” to “true”. Might be relevant for others. Thanks. Dustin On May 25, 2016 at 5:45:55 AM, jonstavis (notifications@github.commailto:notifications@github.com) wrote: Are you using Homestead? It looks like this issue is relevant: laravel/framework#3602laravel/framework#3602 Updating the Laravel version should fix this, see fix in 060fb92060fb92 — |
You should not need to do that if you pull the latest commit and re-run composer |
Hi there,
When running the" php artisan migrate" step on setup, I am getting the below...
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'created_at'
Amy comments?
The text was updated successfully, but these errors were encountered: