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

custom_user table is absent #23

Open
white-collar opened this issue Oct 14, 2024 · 0 comments
Open

custom_user table is absent #23

white-collar opened this issue Oct 14, 2024 · 0 comments

Comments

@white-collar
Copy link

Describe the bug
The request /users/sign-up is not functional

To Reproduce
Steps to reproduce the behavior:

  1. Checkout project
  2. Build
  3. Start
  4. Send request http://localhost:8080/users/sign-up
  5. Error happens
{
  "errors": [
    "could not prepare statement [Table \"CUSTOM_USER\" not found; SQL statement:\nselect u1_0.id from custom_user u1_0 where u1_0.username=? fetch first ? rows only [42102-224]] [select u1_0.id from custom_user u1_0 where u1_0.username=? fetch first ? rows only]; SQL [select u1_0.id from custom_user u1_0 where u1_0.username=? fetch first ? rows only]"
  ]
}

Expected behavior
No errors, new record in users table

Screenshots
No screenshots

Additional context

POST http://localhost:8080/users/sign-up
Content-Type: application/json

{
  "role": "ROLE_TEACHER",
  "username": "eugene",
  "email": "[email protected]",
  "password": "password"

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant