Skip to content

Commit

Permalink
fix: database migration could fail
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Aug 16, 2020
1 parent fd1ecd8 commit 1c9f3d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class V20200810154730__thumbnails_part_2 : BaseJavaMigration() {
}

jdbcTemplate.batchUpdate(
"INSERT INTO THUMBNAIL_BOOK(ID, THUMBNAIL, SELECTED, TYPE, BOOK_ID) values (?, ?, TRUE, 'GENERATED', ?)",
"INSERT INTO THUMBNAIL_BOOK(ID, THUMBNAIL, SELECTED, TYPE, BOOK_ID) values (?, ?, 1, 'GENERATED', ?)",
parameters
)
}
Expand Down

0 comments on commit 1c9f3d0

Please sign in to comment.