Skip to content

refactor: bind schema hash to migration - #2445

Open
juan518munoz wants to merge 2 commits into
nextfrom
jmunoz-check-schema-hash-individually
Open

refactor: bind schema hash to migration#2445
juan518munoz wants to merge 2 commits into
nextfrom
jmunoz-check-schema-hash-individually

Conversation

@juan518munoz

Copy link
Copy Markdown
Collaborator

After #2358, The introduced SqliteMigration was loosely coupled with it's expected schema hash. This PR adds the expected signature as a field of the struct, so they are programatically bound.

@juan518munoz
juan518munoz marked this pull request as ready for review August 26, 2026 13:55
Comment on lines +379 to +380
migration.expected_hash(latest),
without_hook.expected_hash(latest),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not sure that this test makes sense now

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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