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

branch_heads table has no primary key (Postgres) #743

Open
2 of 3 tasks
dheardal opened this issue Jan 7, 2025 · 0 comments
Open
2 of 3 tasks

branch_heads table has no primary key (Postgres) #743

dheardal opened this issue Jan 7, 2025 · 0 comments

Comments

@dheardal
Copy link

dheardal commented Jan 7, 2025

Pre issue-raising checklist

I have already (please mark the applicable with an x):

  • Upgraded to the latest Pact Broker OR
  • Checked the CHANGELOG to see if the issue I am about to raise has been fixed
  • Created an executable example that demonstrates the issue using either a:
    • Dockerfile
    • Git repository with a Travis or Appveyor (or similar) build

Software versions

  • pact-broker docker version: eg 2.112.0

Expected behaviour

branch_heads should have a primary key.

Actual behaviour

branch_heads does not have a primary key.

This causes issues for us as we use logical replication on our postgres instances but it is not possible without a primary key defined on the table.

@dheardal dheardal changed the title Branch_heads has no primary key branch_heads table has no primary key (Postgres) Jan 7, 2025
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

No branches or pull requests

1 participant