Skip to content

Commit

Permalink
feat: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmah309 committed Sep 18, 2024
1 parent eb15224 commit d757131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ INFO FOR DB;
"#,
);

for (index, migration) in existing_migrations_to_insert.iter().enumerate() {
for (index, migration) in existing_migrations_to_insert.into_iter().enumerate() {
query = query
.query(format!("INSERT INTO migrations $migration{};", index))
.bind((format!("migration{}", index), migration));
Expand Down

0 comments on commit d757131

Please sign in to comment.