Updating collections

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

If I create a new table in my database not using strapi, is there any way for strapi to “refresh” and find out that there is a new collection to worry about? Similarly, if I change a field name using my DB administration tool, how can I make strapi know about that?

Quick answer: You can’t

Thank you sunnyson.

So how can I add strapi to an existing application, one that already has a database with tables and data? I can’t imagine that you can use strapi only if you start developing from scratch…

I’ve already wrapped up a few strapi instances around the existing databases without data loss. You can make a duplicate of your database and create identical model in strapi and check, but to mention it is not recommended to wrap strapi around existing tables, you must be very careful how you configure models.