aboutsummaryrefslogtreecommitdiff
path: root/src/cli/make_migrations.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/make_migrations.rs')
-rw-r--r--src/cli/make_migrations.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/make_migrations.rs b/src/cli/make_migrations.rs
index b0cd341..e0653b6 100644
--- a/src/cli/make_migrations.rs
+++ b/src/cli/make_migrations.rs
@@ -7,7 +7,7 @@ use structopt::StructOpt;
use crate::db::migration::{CreateModelOption, DatabaseChange, Migration};
use crate::db::models::{Field, ModelMeta};
-use crate::{db::backend::Connectable, Settings, UrlMap};
+use crate::{Settings, UrlMap};
#[derive(StructOpt)]
/// Generate migrations
@@ -101,7 +101,7 @@ impl From<&[Migration]> for AppTablesState {
}
impl MakeMigrations {
- pub fn execute(self, _urls: UrlMap, settings: Settings<impl Connectable>) {
+ pub fn execute(self, _urls: UrlMap, settings: Settings) {
for app in settings.installed_apps {
let expected_table_state = AppTablesState::from(app.models);
let actual_table_state = AppTablesState::from(app.migrations);