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

When creating tables in Postgres, inline PRIMARY keys are now escaped properly #10797

Merged
merged 1 commit into from
Aug 14, 2015
Merged

When creating tables in Postgres, inline PRIMARY keys are now escaped properly #10797

merged 1 commit into from
Aug 14, 2015

Conversation

SidRoberts
Copy link
Contributor

For reference, before this PR, I got this error message:

db_1            | ERROR:  column "userid" named in key does not exist at character 168
db_1            | STATEMENT:  CREATE TABLE "Sid_Pomelo_Models_Users" (
db_1            |               "userID" BIGINT NOT NULL,
db_1            |               "emailAddress" CHARACTER VARYING(255) NOT NULL,
db_1            |               "password" CHARACTER VARYING(100) NOT NULL,
db_1            |               PRIMARY KEY (userID)
db_1            |       )

image

andresgutierrez added a commit that referenced this pull request Aug 14, 2015
When creating tables in Postgres, inline PRIMARY keys are now escaped properly
@andresgutierrez andresgutierrez merged commit 7c7acd5 into phalcon:2.0.x Aug 14, 2015
@andresgutierrez
Copy link
Contributor

Thanks

@SidRoberts SidRoberts deleted the postgres-createtable-primary branch August 14, 2015 15:06
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.

2 participants