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

Add json Data Type & solve database name issues #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amrfayad
Copy link

@amrfayad amrfayad commented Nov 8, 2016

This error appeared to me :
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your M
ySQL server version for the right syntax to use near 'desc WHERE Key_name != "PRIMARY"' at line 1

And The solution is to change line 27 in DBExporter to Be

return $pdo->query('SHOW INDEX FROM ' . $this->database . '.' . $table . ' WHERE Key_name != "PRIMARY"');

second issues Their is new data type in mysql is json DataType : and
This lines added in DbMigrations.php

case 'json' :
$method = 'json';
break;

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

Successfully merging this pull request may close these issues.

1 participant