aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn / boringcactus <melody@boringcactus.com>2021-06-19 21:44:39 -0600
committerMelody Horn / boringcactus <melody@boringcactus.com>2021-06-19 21:44:39 -0600
commitf2009f7135f92959e919a85a02584d7a0d7b8e47 (patch)
tree3323f3caf361cb3f4c5df5561981657478fdd281
parenta4c1595619986938aec698edb5e17286e3839e42 (diff)
downloadtosin-f2009f7135f92959e919a85a02584d7a0d7b8e47.tar.gz
tosin-f2009f7135f92959e919a85a02584d7a0d7b8e47.zip
use proper crate name in generated migrations
-rw-r--r--src/cli/make_migrations.rs2
1 files changed, 1 insertions, 1 deletions
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;
};