-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Postgres issue #14
Comments
Hi @jamesbarwick, Thank you very much for your message! We've struggled with this before on mysql. Thank you very much! Greetz, Bob |
Sure. I will do so.
|
Mention this issue number (#14) to refer to this issue |
…t's not needed on boolean fields. And caused an error on Postgres...so...just remove it
Hi. Sorry, I noticed the CI is failing. I hope that wasn’t me. All I can say is that I was able to run the migrate script during installation. I didn’t run the unit tests. I don’t have all the DB’s and the phpunit environment setup…apologies for any inconvenience. James
|
Guys, i'm also stuck with it. Seriosly, fix the problem on Postgres. |
Hey guys. Not everyone likes/uses mysql. So, being one of the few, I found this error:
[PDOException]
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "("
LINE 1: ...YING (50) NOT NULL DEFAULT '', "editable" BOOLEAN (1) NOT NU...
When trying to run migrate on a postgres database.
getting rid of the (1) should do the trick. Isn't needed on mysql either.
In the file 20150126111319_settings_initial.php there are two boolean fields.
I removed the 'limit' setting (limit => 1) on both fields and then I was able to run the migration.
The text was updated successfully, but these errors were encountered: