Skip to content

Bump diesel and diesel_migrations from 1.4 to 2.0

Penta Massiv requested to merge (removed):bump_diesel into master

This fixes #273 (closed)

There have been five changes in the deps that were relevant to podcasts-data.

  • A connection needs to be mutable (source)
  • derived attributes were renamed (source)
  • The diesel_migrations crate was rewritten (source)
  • The diesel_migrations::RunMigrationsError was removed (before vs. now)
  • A PooledConnection does not have an .execute() method anymore so I changed it to .batch_execute() (before vs. now)

The first three points should be straight forward, but I am a little unsure about my changes regarding the last two points.

Merge request reports