Skip to content

Conversation

@MarkusWendorf
Copy link
Contributor

To implement custom drivers it would be useful to also expose the Migration struct as serde:Serializable if the serde feature is enabled.

I currently need for a custom driver and it seems like other people implemented workarounds already (not sure if the problem is this one exactly): https://github.com/Protryon/klickhouse/blob/67651affb97dfae07084d852d99ffa652b235929/klickhouse/src/migrate.rs#L13-L66

  • adds serialize/deserizalize to Migration and associated types if serde is enabled

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

Hi, sorry for the delay, and thanks for this, LGTM!

@jxs jxs merged commit 825a980 into rust-db:main Oct 6, 2025
29 checks passed
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