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

PostgreSQL. Duplicate table: 7 ERROR: relation" PRIMARY "already exists" 4.0.x #13643

Merged

Conversation

CameronHall
Copy link
Contributor

@CameronHall CameronHall commented Dec 9, 2018

CONSTRAINT must be unique

Hello!

Type: bug fix
Link to existing PR: #12629
In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines?
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.
    Small description of change:

Postgresql in CONSTRAINT must specify a unique name for this CONSTRAINT, otherwise it leads to mistakes.

ERROR: SQLSTATE [42P07]: Duplicate table: 7 ERROR: relation" PRIMARY "already exists

Thanks

@CameronHall CameronHall changed the base branch from master to 4.0.x December 9, 2018 11:09
@CameronHall CameronHall changed the title PostgreSQL. Duplicate table: 7 ERROR: relation" PRIMARY "already exists" PostgreSQL. Duplicate table: 7 ERROR: relation" PRIMARY "already exists" 4.0.x Dec 9, 2018
@niden
Copy link
Sponsor Member

niden commented Dec 9, 2018

@CameronHall can you check the tests please?

@CameronHall CameronHall force-pushed the bugfix/postgres-duplicate-table-error branch from da4fd3d to cb7afc5 Compare December 10, 2018 08:47
@CameronHall
Copy link
Contributor Author

@niden looks to be fixed now :)

@niden niden added this to In progress in 4.0.0 Release via automation Dec 11, 2018
@niden niden added this to the 4.0.0 milestone Dec 11, 2018
@niden
Copy link
Sponsor Member

niden commented Dec 11, 2018

@CameronHall Thank you!

@niden niden merged commit 7e8aeaa into phalcon:4.0.x Dec 11, 2018
4.0.0 Release automation moved this from In progress to Done Dec 11, 2018
@niden niden added the documentation Documentation required label Apr 9, 2019
@CameronHall CameronHall deleted the bugfix/postgres-duplicate-table-error branch October 24, 2019 11:36
@niden niden added 4.0 and removed documentation Documentation required labels Dec 2, 2019
@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
No open projects
4.0.0 Release
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants