Skip to content

Commit

Permalink
changed field phone to telegram_chat_id
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrSaven committed Oct 2, 2023
1 parent cce3d36 commit ea3f825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/project/carsharingapp/model/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class User {
private String lastName;
@Column(nullable = false)
private String password;
private String phone;
private String telegramChatId;
@Column(nullable = false)
@ManyToMany
@JoinTable(name = "user_roles",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ databaseChangeLog:
constraints:
nullable: false
- column:
name: phone
name: telegram_chat_id
type: varchar(255)
constraints:
nullable: false
Expand Down

0 comments on commit ea3f825

Please sign in to comment.