Need faster options for creating new data collections and fields

Hi team,

As more of us use AI for building and configuring our applications, it would be great to have a more efficient way to create new data collections and fields besides manual data entry. As Claude explains it, using SQL commands to create tables is not recommended:

If you only run CREATE TABLE in pgAdmin:

  • The physical table may exist, but the Collection Manager / API / ACL / UI may not line up until NocoBase has matching collection + field rows and sync.
  • You can easily drift from what the ORM and UI expect (naming, audit columns, FK columns NocoBase generates for relations).

Is there any other way to create collections via direct database access? If not, can add a feature that will allow this (via UI or new plugin) or enable an AI employee to do this?

Thanks!

The nocobase cli is actually very good at this. I used it with claude code to help me plan and implement a data structure for an app. Make the plan with opus then use sonnet to implement. It can save you a lot of time with many and large collections.

1 Like

Awesome! I’ll give it a try. Thanks for the suggestion!