You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I found two fatal errors when creating tables in database using the $_connection->createTable method.
So, I try to create table 'user' in 'app' schema with the next definition:
DEFAULT false DEFAULT true
You see' default values for my 'force_change' and 'active' gone to beginning of SQL columns definitions.
Seems like an error in /blob/master/phalcon/db/dialect/postgresql.zep:380 file. Probably, it sould be
let columnLine .= " DEFAULT " . defaultValue;
CONSTRAINT "user_pkey" PRIMARY ("id")
'KEY' directive is missing. Should be 'CONSTRAINT "user_pkey" PRIMARY KEY ("id")'
Details
Phalcon version: 3.2.4
PHP Version: 7.0.22
Operating System: Ubuntu 16.04
Installation type: installing via package manager
Zephir version (if any): no
Server: Nginx
Postgresql 9.5
The text was updated successfully, but these errors were encountered:
Hello!
I found two fatal errors when creating tables in database using the $_connection->createTable method.
So, I try to create table 'user' in 'app' schema with the next definition:
And here's the SQL code Phalcon generated to be run:
You see' default values for my 'force_change' and 'active' gone to beginning of SQL columns definitions.
Seems like an error in /blob/master/phalcon/db/dialect/postgresql.zep:380 file. Probably, it sould be
'KEY' directive is missing. Should be 'CONSTRAINT "user_pkey" PRIMARY KEY ("id")'
Details
The text was updated successfully, but these errors were encountered: