Skip to content

Commit 7725ffe

Browse files
committed
Fixed display order of fields when renaming them
Fixes rorm-orm/rorm#106
1 parent 2bea0c8 commit 7725ffe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

changelog.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Since 0.8.1
1+
Since 0.9.0
22
-----------
3-
- ...
3+
- Fixed display order of fields when renaming them

src/make_migrations/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ pub fn run_make_migrations(options: MakeMigrationsOptions) -> anyhow::Result<()>
289289
f.push((old_field, new_field));
290290
println!(
291291
"Renamed field {} of model {model_name} to {}.",
292-
new_field.name, old_field.name
292+
old_field.name, new_field.name
293293
);
294294
}
295295
}

0 commit comments

Comments
 (0)