The model "user" was not found in the schema object
I'm not sure what is going on, I've already specified it in the schema:
This is the schema object being used by the betterAuth config:
And
auth-schema
is the file which is automatically generated.
Any idea what is going on? I've checked previous messages here and the solution for them has being to add the schema in the betterAuth config, but I'm already doing that.Solution:Jump to solution
Well apparently the TS output was originally
/dist/app.js
, but somehow - and I still don't know why/how, it started outputting to /dist/src/app.js
, so basically I was 'working' on an older code.1 Reply
Solution
Well apparently the TS output was originally
/dist/app.js
, but somehow - and I still don't know why/how, it started outputting to /dist/src/app.js
, so basically I was 'working' on an older code.