You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'created_at' (
SQL: create table comments (id int unsigned not null auto_increment primary key, text varc
har(255) not null, author varchar(255) not null, created_at timestamp default 0 not null, u pdated_at timestamp default 0 not null) default character set utf8 collate utf8_unicode_ci)
The text was updated successfully, but these errors were encountered:
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'created_at' (
SQL: create table
comments
(id
int unsigned not null auto_increment primary key,text
varchar(255) not null,
author
varchar(255) not null,created_at
timestamp default 0 not null,u pdated_at
timestamp default 0 not null) default character set utf8 collate utf8_unicode_ci)The text was updated successfully, but these errors were encountered: