79391052

Date: 2025-01-27 14:06:20
Score: 2.5
Natty:
Report link

relation \"users\" does not exist means that there is no users table in your database. Has the table been created in the local database?

Keep in mind that SQL language is case-insensitive when not using quotes. If the table in the database is called Users and GORM is trying to query users, this could be the reason why your code results in an error. Is the table correctly named in the migration file?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hugo Martinet