Skip to content

Commit

Permalink
fix: attempt to fix invalid session table name generated by hibernate…
Browse files Browse the repository at this point in the history
… which prevents login of consultants
  • Loading branch information
tkuzynow committed Jan 22, 2025
1 parent 97e67fd commit e17ea88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/** Represents a user */
@Entity
@Table(name = "`user`")
@Table(name = "_USER")
@AllArgsConstructor
@NoArgsConstructor
@Getter
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/database/UserServiceDatabase.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ALTER SEQUENCE sequence_session RESTART WITH 100000;
ALTER SEQUENCE sequence_session_topic RESTART WITH 100000;
ALTER SEQUENCE sequence_consultant_agency RESTART WITH 100000;
ALTER SEQUENCE sequence_admin_agency RESTART WITH 100000;
INSERT INTO "user"(`user_id`, `id_old`, `delete_date`, `username`, `email`, `rc_user_id`,
INSERT INTO _USER(`user_id`, `id_old`, `delete_date`, `username`, `email`, `rc_user_id`,
`language_formal`, `create_date`, `update_date`,`notifications_enabled`)
VALUES ('015d013d-95e7-4e91-85b5-12cdb3d317f3', 0, NULL, 'enc.OBSXEZTPOJWWC3TDMUWWC43LMVZC2NZS',
'[email protected]', 'dciScSDa9Qm8vmEBB', 1,
Expand Down

0 comments on commit e17ea88

Please sign in to comment.