in the following Pull Request, we'lle extract DbConn from PlumeRocket, as suggested in #797
use rocket_contrib's `#[database]` to implement our `DbConn`
I think you'll have to edit plume-models/src/config.rs so that Rocket knows the URL of this "plume" database.
yesno… we want to retain our ConnectionCustomization, so we're keeping our own init_pool().
pass DbConn in as ref instead of Copying it around.
This will help with the async migration, as we're currently passing all of PlumeRocket around as ref, which means that it ends up sitting somewhere in a function, until it's .awaited.
This can create lead us into a big mess, which may be impossible to untangle, so this should help not running into that to begin with.
this means compilation fails, and for the next while, we'll try to make
it compile again ;)
closing in favour of #813
No due date set.
This pull request currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?