- changed status to open
Install Issue
Hello, I'm having trouble installing the project. Receiving following warning:
"SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'updated_at' (SQL: create table xeor_rate_rate
(id
int unsigned not null auto_increment primary key, entity_id
varchar(191) not null, value
int not null, value_type
varchar(191) not null, uid
int not null, created_at
timestamp not null, updated_at
timestamp not null, vote_source
varchar(191) not null) default character set utf8mb4 collate utf8mb4_unicode_ci engine = InnoDB)" on line 664 of /var/www/public/STA_A/vendor/laravel/framework/src/Illuminate/Database/Connection.php
Thank you,
Comments (4)
-
repo owner -
repo owner Hi! It's seems that the problem in your server settings (http://valentinvannay.com/2015/12/02/invalid-default-value-for-created_at-with-laravel-5-homestead-v0-3-3 https://github.com/laravel/framework/issues/3602)
-
repo owner - changed status to resolved
This issue has been closed due to the lack of activity over a long period of time.
-
reporter Sorry I missed the notification. You are correct, in my case (mysql) I had to set it to false.
'strict' =>false
//config/database.php Thank you for your help!
- Log in to comment