👎Deprecated since 1.3.0: Diesel CLI can be configured to automatically run
print-schema after running migrations. See diesel.rs/guides/configuring-diesel-cli for details.Macros§
- infer_
schema Deprecated - Queries the database for the names of all tables, and calls
infer_table_from_schema!for each one. A schema name can optionally be passed to load from schemas other than the default. If a schema name is given, the inferred tables will be wrapped in a module with the same name. - infer_
table_ from_ schema Deprecated - Establishes a database connection at compile time, loads the schema
information about a table’s columns, and invokes
table!for you automatically. For tables in a schema other than the default, the table name should be given as"schema_name.table_name".