sgrif / diesel.rs-website

MIT License
32 stars 97 forks source link

Update the "Configuring diesel cli" guide to diesel 2.0 #157

Closed weiznich closed 2 years ago

weiznich commented 2 years ago

As preparation of the upcoming diesel 2.0 release we need to update the guides on our web page to reflect the corresponding changes. For the "Configuring diesel cli" guide this involves the following points:

  1. Add a section about the newly added generate_missing_sql_type_definitions option. This options allows users to control if diesel cli should generate sql type definitions for unknown types or not. This feature is currently only available for the postgres backend.
  2. Update the section about patch files to remove the requirement to have a patch binary installed. Diesel cli now uses a built-in way to patch files.
  3. Test that everything else still works with the diesel cli 2.0 prerelease.
  4. Open a PR with all this changes targeting the diesel_2.0_update branch

Please use this issue as discussion platform to ask any question that is unclear about updating this guide.