You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PostgreSQL ORM with structures in a module, the ORM automatically adds the module name as a table prefix (e.g., models.sendsmsrequest), but the table is created without this prefix (e.g., sendsmsrequest), causing an error during insert operations.
When using PostgreSQL ORM with structures in a module, the ORM automatically adds the module name as a table prefix (e.g.,
models.sendsmsrequest), but the table is created without this prefix (e.g.,sendsmsrequest), causing an error during insert operations.Reproduction code:
main.v:models/models.v:Expected behavior: The ORM should use the same table name for creation and insert operations.
Actual behavior:
sendsmsrequestmodels.sendsmsrequest→ Error "relation does not exist"Environment:
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.