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

Default value for "created_at" #10

Open
aboutsam opened this issue Jun 12, 2017 · 0 comments
Open

Default value for "created_at" #10

aboutsam opened this issue Jun 12, 2017 · 0 comments

Comments

@aboutsam
Copy link

[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)

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

No branches or pull requests

1 participant