Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments #4

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed data type of comment id
  • Loading branch information
manith-hetti committed May 30, 2024
commit 35c55d3c2457db3bc7f578ddd63541212a5dea59
2 changes: 1 addition & 1 deletion src/main/java/com/makersacademy/acebook/model/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Comment {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id; // Todo update Schema to BIGSERIAL and this type to long
private Long id; // Todo update Schema to BIGSERIAL and this type to long
@Getter @Setter private String content;
private Long user_id;

Expand Down
10 changes: 0 additions & 10 deletions src/main/resources/db/migration/V3__create_comments_table.sql

This file was deleted.