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

postgres insert is rolled back #74

Open
timterry opened this issue Jun 16, 2015 · 1 comment
Open

postgres insert is rolled back #74

timterry opened this issue Jun 16, 2015 · 1 comment

Comments

@timterry
Copy link

Hi,

I have a postgres migrator with an insert statement. The migrator runs fine but the new rows are not committed. (i can see the table's sequence has incremented). I have turned on debug logging in the posgres driver and can see the statements being executed and committed. However, after inspecting the table, no new rows have been added. The sql creates a simple table with two columns in one migration then tries to insert a record in the next. Any clues to what could be the cause?

Thanks

@michaelklishin
Copy link
Collaborator

Can you post said PostgreSQL log? Rollbacks typically indicate migration failures.

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

2 participants