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

sql error #11

Closed
zerocooldeveloper opened this issue Apr 9, 2017 · 2 comments
Closed

sql error #11

zerocooldeveloper opened this issue Apr 9, 2017 · 2 comments

Comments

@zerocooldeveloper
Copy link

[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json nul
l, created_at timestamp null, updated_at timestamp null) default cha' at line 1 (SQL: create table social_users (id int unsigned not null auto_increment primary key, user_id int unsigned no
t null, social_id varchar(191) not null, social_type varchar(191) not null, nickname varchar(191) null, name varchar(191) null, email varchar(191) not null, avatar varchar(191) null, met a json null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate utf8mb4_unicode_ci)

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json nul
l, created_at timestamp null, updated_at timestamp null) default cha' at line 1

[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'json nul
l, created_at timestamp null, updated_at timestamp null) default cha' at line 1

@taaum
Copy link

taaum commented Apr 27, 2017

After run this command: php artisan make:social
see this error also.

@zerocooldeveloper
Copy link
Author

zerocooldeveloper commented Apr 27, 2017

If I run php artisan make:social me skip this error

@acacha acacha closed this as completed Nov 10, 2017
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

3 participants