-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG]: ALTER COLUMN FOR BOOLEAN #15829
Comments
Hello, what is the version of migrations? |
I got it from "phalcon/devtools": "^4.1", in my composer.json, but I suppose that problem is in Phalcon project. It does not add ALTER TABLE part to sql request when you try to change your boolean column default value.
And this code
successfully update default for smallint, but fails with error:
while updating boolean default value |
this IF in Phalcon\Db\Dialect\Postgresql makes this error( |
@MaksimChernyavsky do me a favor please. Can you post what the correct SQL should be for PostgreSql (if you were to write a raw query) in order to update the bool column? I apologize but I have not worked with PostgreSql enough to know this |
While updating default value for my boolean database column, i have an error while run migrations like
I suppose it is because code In class Phalcon\Db\Dialect\Postgresql (see image)
The text was updated successfully, but these errors were encountered: