diff options
author | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-19 21:44:39 -0600 |
---|---|---|
committer | Melody Horn / boringcactus <melody@boringcactus.com> | 2021-06-19 21:44:39 -0600 |
commit | f2009f7135f92959e919a85a02584d7a0d7b8e47 (patch) | |
tree | 3323f3caf361cb3f4c5df5561981657478fdd281 /src/cli | |
parent | a4c1595619986938aec698edb5e17286e3839e42 (diff) | |
download | tosin-f2009f7135f92959e919a85a02584d7a0d7b8e47.tar.gz tosin-f2009f7135f92959e919a85a02584d7a0d7b8e47.zip |
use proper crate name in generated migrations
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/make_migrations.rs | 2 |
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; }; |