Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Overwrite check status of sqitch #842

Closed
chamini2 opened this issue Dec 1, 2024 · 2 comments
Closed

Overwrite check status of sqitch #842

chamini2 opened this issue Dec 1, 2024 · 2 comments

Comments

@chamini2
Copy link

chamini2 commented Dec 1, 2024

I had to do some modifications in the past and now my sqitch check command returns a failed status.

Script signatures diverge at change alter_table_gateway_requests_duration
 Failed one check

How can I ask sqitch to "convince itself" we are good beacuse I am sure we are even though the SHAs dont match?

@theory
Copy link
Collaborator

theory commented Dec 1, 2024

Revert to the last known good SHA using --log-only, then deploy from there using --log-only. That will update the logs without executing the scripts. Be very sure that this is correct.

@chamini2
Copy link
Author

chamini2 commented Dec 2, 2024

Thanks! Yes I have compared a pgdump -s of the real db and a db from scratch with sqitch migrations.

@chamini2 chamini2 closed this as completed Dec 2, 2024
@sqitchers sqitchers locked and limited conversation to collaborators Dec 2, 2024
@theory theory converted this issue into discussion #843 Dec 2, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants