Skip to content

Dynamic migration dicovery, bug fix - #313

Merged
jxs merged 4 commits into
rust-db:mainfrom
alfred-hodler:table_name_bug_fix_load_migrations
Mar 3, 2024
Merged

jxs merged 4 commits into
rust-db:mainfrom
alfred-hodler:table_name_bug_fix_load_migrations

Conversation

@alfred-hodler

Copy link
Copy Markdown
Contributor
  • Fixes a bug in get_last_applied_migration due to an incorrect SQL query that partially uses dynamic table names and partially hardcodes the default one.

  • Adds a new utility function that enables dynamic migration discovery where embedding is not desirable.

* Fixes a bug in `get_last_applied_migration` due to an incorrect SQL
  query that partially uses dynamic table names and partially hardcodes
  the default one.

* Adds a new utility function that enables dynamic migration discovery
  where embedding is not desirable.
@alfred-hodler
alfred-hodler force-pushed the table_name_bug_fix_load_migrations branch from 2b46379 to 78651e5 Compare February 23, 2024 01:12

@jxs jxs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this! Only one remark

Comment thread refinery_core/src/util.rs Resolved
Comment thread refinery_core/src/util.rs Resolved
@jxs
jxs merged commit 83c8cba into rust-db:main Mar 3, 2024
@jxs

jxs commented Mar 3, 2024

Copy link
Copy Markdown
Member

Thanks! ❤️

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