I can’t create new tables with relations to a currently existing table, and also cannot change foreign keys references to this table from another table.
Creating new tables fails with error TS2345: Argument of type ‘“api::.”’ is not assignable to parameter of type ‘ContentType’.
Hi, I have run into the same problem as you.
While I couldn’t find a way to actually resolve it, I found a workaround. You can just add a fallback command to your command to run your strapi project.
Thanks for your reply. Unfortunately it did not solve the issue. I had the table removed and regenerated the types (I believe your script will do the regeneration). Without manually removing the table and re-adding, the problem persists.