Skip to content

Commit

Permalink
Merge pull request Project-Books#159 from Project-Books/bigint-publis…
Browse files Browse the repository at this point in the history
…her-book-147

chore: use bigint in publisher_book
  • Loading branch information
knjk04 authored Mar 20, 2022
2 parents 4dcc44c + 77147a4 commit 1634e77
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 1634e77

Please sign in to comment.