Skip to content

Commit 0ca3bea

Browse files
committed
altera o tipo da coluna 'longDescription' para aceitar mais de 255 caracteres
1 parent 9462566 commit 0ca3bea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/main/java/com/gabriel_torelo/game_list/entities

src/main/java/com/gabriel_torelo/game_list/entities/Game.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public class Game {
2323
private Double score;
2424
private String imgUrl;
2525
private String shortDescription;
26+
27+
@Column(columnDefinition = "LONGTEXT")
2628
private String longDescription;
2729

2830
public Game() {

0 commit comments

Comments
 (0)