Table not found in schema

Hey, guys, I'm using Xata through API and in every request to the endpoints I've got the message "Table xyz not found in schema". This is some kind of setting that I'm too dumb to understand or something that I'm missing? The request are being completely successful, tho. Thanks.
3 Replies
kostas
kostas2y ago
Hello, if you have made changes to your branch from the Web UI after you generated the client with "xata init", you will need to run the CLI command "xata codegen" in your project which pulls the latest schema and updates your client. This should make it "aware" of the new table and columns and resolve the warning.
Luan Vieira
Luan VieiraOP2y ago
Worked perfectly, thanks @kostas
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server