Skip to content

Commit

Permalink
Fix MlModel statement usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyelowo committed Jan 18, 2024
1 parent 239d7c7 commit 397671a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrator/src/database/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl DefineStatementRaw {
};
remove_stmt.to_raw().build()
}
DefineStatement::MlModel(ml) => remove_model(get_resource_name(ml.name.to_raw()))
DefineStatement::Model(ml) => remove_model(get_resource_name(ml.name.to_raw()))
.version(ml.version)
.to_raw()
.build(),
Expand Down

0 comments on commit 397671a

Please sign in to comment.