Skip to content

Commit

Permalink
chore: use bigint in publisher_book
Browse files Browse the repository at this point in the history
  • Loading branch information
knjk04 committed Mar 20, 2022
1 parent 05c2bc0 commit 77147a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* If not, see <https://www.gnu.org/licenses/>.
*/


package com.karankumar.booksapi.repository;

import com.karankumar.booksapi.model.Author;
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/db/migration/V33__BIGINT_PUBLISHER_BOOK
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE publisher_book
ALTER COLUMN book_id TYPE bigint;

ALTER TABLE publisher_book
ALTER COLUMN publisher_id TYPE bigint;

0 comments on commit 77147a4

Please sign in to comment.