Filter table not applied on diesel migration --diff-schema
#3712
forest1102
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
Thanks for writing this post. Can you please provide a self contained reproducible example for this? That needs to include at least the following information:
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am trying out a new option
diff-schema.However, when I use the
filterfield in diesel.toml just omits tables used in other crates.diesel migration generate edit_column_name --diff-schemaresults in writing code to delete tables not listed in the filter fields. I expect migration do nothing about unlisted tables.Inputs
initial database info
diesel.toml
schema_a/src/schema.rs
diesel::table! { table_a (id) { id -> Int8, - code -> Varchar, + script -> Varchar, } }command
Actual Result
up.sql
Expected
up.sql
Version
All reactions