From f2009f7135f92959e919a85a02584d7a0d7b8e47 Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sat, 19 Jun 2021 21:44:39 -0600 Subject: use proper crate name in generated migrations --- src/cli/make_migrations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/make_migrations.rs b/src/cli/make_migrations.rs index f4edf94..83e760c 100644 --- a/src/cli/make_migrations.rs +++ b/src/cli/make_migrations.rs @@ -105,7 +105,7 @@ impl MakeMigrations { } }; let file = quote! { - use crate::db::migration::Migration; + use tosin::db::migration::Migration; pub const MIGRATION: Migration = #migration; }; -- cgit v1.2.3