Open onx2 opened 3 years ago
Right now Movine won't work with sqlx until the adapter trait is applied to it. It will look very similar to the current Postgres connection except with sqlx as the connection provider (https://github.com/byronwasti/movine/blob/master/src/adaptor/postgres.rs)
I'm a bit swamped, but happy to review a PR if you want to add it. It might be necessary to add feature gates for it if the types conflict (which is something I need to add regardless).
Glad you've enjoyed the crate so far!
I was wondering if it was possible to use this in a bin file with sqlx's postgres
PgConnection
? I'm getting and error with my current implementation.I'm trying to create a script that will create my database, run
movine init
andmovine fix
, then seed the database with mock data.BTW this is an awesome crate, great work 😃 It has been so easy using it so far!