File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,13 +51,19 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
5151
5252### Deprecated
5353
54+ * ` diesel_infer_schema ` has been deprecated. ` diesel print-schema ` is now the
55+ only way to generate database schema. Diesel CLI can be configured to
56+ automatically regenerate your schema file when migrations are run. See
57+ diesel.rs/guides/configuring-diesel-cli for details.
58+
5459* Uses of ` sql_function! ` in the form ` sql_function!(foo, foo_t, (x: Integer)) `
5560 have been deprecated in favor of a new design (listed above). Note: Due to [ a
5661 bug in Rust] ( https://github.com/rust-lang/rust/issues/49912 ) , you may not see
5762 a deprecation warning from usage of the old form. As always, if you're
5863 concerned about relying on deprecated code, we recommend attempting to build
5964 your app with ` default-features ` turned off (specifically excluding the
6065 ` with-deprecated ` feature).
66+
6167* The ` --whitelist ` and ` --blacklist ` options to ` diesel print-schema ` have been
6268 deprecated and renamed ` --only-tables ` and ` --exclude-tables ` .
6369
You can’t perform that action at this time.
0 commit comments