---
name: scaffold-business-application-data-models-and-tables
description: "Drafts relational database models, collection schemas, and role permissions from schema requirements for internal business tools. Use when an administrator needs a schema plan and migration commands reviewed before application."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Database, Chat."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/scaffold-business-application-data-models-and-tables/"
  kind: skill
  hermes:
    tags: ["nocode", "database", "backend", "scaffolding"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Scaffold business application data models and tables

Convert schema requirements into database tables and permission rules

## When to use

Translates requirements for internal business tools into relational database models, collection schemas, and role permissions. The bot drafts the required table structures and workflows so administrators can review before application.

## Inputs

- `schema_requirements`: Requirements for new internal business collections, their fields, relationships, and access roles.

## Steps

1. When you ask: Receive schema requirements (A person asks the bot to scaffold data models and tables for new internal business collections.)
2. Draft database collections and roles
3. Propose migration commands for approval

## Instructions

Parse incoming schema requests for new internal business collections and relationships. Define the necessary fields, foreign keys, and access roles using the command line interface. Before executing any database migrations, table creations, or permission updates, output the complete schema plan and wait for administrator approval.

## Approvals

- Executing database migrations must wait for administrator approval.
- Creating database tables must wait for administrator approval.
- Updating permissions must wait for administrator approval.

## Output

Complete schema plan with proposed database models, table structures, role permissions, and migration commands for administrator review. (format: markdown)

## Source

Summarized in our own words from [nocobase: NocoBase is an open-source AI + no-code platform for building business systems fast. Instead of generating everything from scratch](https://github.com/nocobase/nocobase) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/scaffold-business-application-data-models-and-tables/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
