Visual App Design
Visual App Design
Visual Application and Data Model Definition
Field Definition Tool
Field Definition Tool
Advanced Field Definition and Configuration
Entity Configuration
Entity Configuration
Granular Model Configuration
DB Connectivity
DB Connectivity
Database Abstraction and Connectivity
Schema Generator
Schema Generator
Automated Schema Generation & Management
Model Data Tools
Model Data Tools
Rich Data Operations (CRUD & Import/Export)
Admin Docs
Admin Docs
Platform configuration, roles, permissions and administration guides.
Developer Docs
Developer Docs
Technical documentation for extending and integrating the platform.
API Reference
API Reference
Complete API endpoint documentation with request/response examples.
Tutorials
Tutorials
Step-by-step tutorials to help you build and deploy applications.
Recipes
Recipes
Ready-to-use implementation examples and practical use cases.
REST API
REST API
Detailed REST API documentation for integration and automation.
AboutRequest a Demo →
ProductVisual App BuilderSchema Generation
Core Capability — Infrastructure

Your model becomes
a database. Automatically.

SolidX reads your visual model definitions and generates the complete database schema — tables, columns, data types, foreign keys, indexes — with zero manual SQL.

0SQL Written by Hand
100%Schema Accuracy
TypeORMEngine
🔄
Metadata to SchemaVisual definitions translate to real DB tables instantly
⚙️
TypeORM PoweredBattle-tested ORM engine managing all schema operations
Dev Sync ModeLive schema updates as you build — no restarts needed
🛡
Production MigrationsControlled SQL migrations for safe production deployments
Metadata-to-Schema

Define it visually.
SolidX writes the schema.

Every model you create in the SolidX App Builder — every field, every relationship, every constraint — is stored as structured metadata. The schema engine continuously reads this metadata and translates it into precise database tables.

  • Creates database tables and columns that exactly match your visual model definitions
  • Data types are mapped precisely — Short Text → VARCHAR, Integer → BIGINT, Date → DATE
  • Constraints are enforced at the DB level — Required → NOT NULL, Unique → UNIQUE INDEX
  • Relational fields automatically create foreign key constraints between tables
  • Changes to models are immediately reflected — add a field, the column appears
Field Type → SQL Data Type Mapping
SolidX TypeSQL TypeConstraints
IntegerBIGINTPK auto-increment if ID
Short TextVARCHAR(1000)NOT NULL if Required
Long TextTEXTUNIQUE if flagged
DateDATENOT NULL if Required
DateTimeTIMESTAMPTZDEFAULT NOW() if sys
BooleanBOOLEANDEFAULT false/true
RelationalBIGINT + FKREFERENCES target(id)
Rich TextLONGTEXTHTML content stored
TypeORM Config — Environment Aware
⚡ DEV
synchronizetrue
loggingtrue
migrations[ ]
· Schema updates apply instantly
· ⚠ Not for production
🛡 PROD
synchronizefalse
loggingfalse
migrations[ scripts ]
· All changes via migration files
· ✓ Zero surprise data loss
Schema Lifecycle

Fast in dev.
Safe in production.

SolidX handles the two phases of schema management differently. During development, schema changes sync in real time. In production, all changes go through explicit migration scripts.

  • Development — TypeORM automatically aligns the DB schema to your entity definitions on every save.
  • Production — schema updates require explicit SQL migrations. Full control, full auditability.
  • SolidX generates migration scripts from model diffs
Powered by TypeORM

Enterprise-grade ORM.
Zero configuration.

SolidX uses TypeORM — one of the most battle-tested ORM tools — to manage all schema operations without needing to configure it directly.

🗄
Entity Generation
Metadata → TypeORM Entity Classes

SolidX converts each visual model definition into a TypeORM Entity class with all column decorators automatically.

@Entity('student_master')
@DeleteDateColumn()
export class StudentMaster {
@PrimaryGeneratedColumn()
id: number;

@Column({unique: true)
admissionNo: string;
}
🔧
Custom Naming Strategy
CamelCase JS → snake_case DB

SolidX applies a consistent naming strategy — JavaScript conventions are automatically converted to database-standard naming.

// Entity → Table
StudentMasterstudent_master
admissionNoadmission_no

// Relations → FK columns
@ManyToOne ClassSection
class_section_id BIGINT
🔗
Relationship Management
All relationship types, auto-configured

One-to-Many, Many-to-One, Many-to-Many — TypeORM handles the foreign key columns, junction tables automatically.

// 1:N → Student has many FeeRecords
@OneToMany(() => FeeRecord)
feeRecords: FeeRecord[];

// M:N → Auto junction table
@ManyToMany(() => Tag)
tags: Tag[];
📦
System Fields Auto-Injection
id, created_at, updated_at, deleted_at

Every entity generated by SolidX automatically receives the four system-managed fields with auto-lifecycle hooks.

// Auto-injected on every entity
@PrimaryGeneratedColumn()
id: number;

@CreateDateColumn()
createdAt: Date;

@DeleteDateColumn()
deletedAt: Date | null;
Naming Convention Engine

Consistent naming across every layer

SolidX enforces a single, predictable naming convention end-to-end — from the display name you enter in the UI, to the exact database column name.

Display Name → Database Name
Book AuthorModel
book_authortable
Publication DateField
publication_datecolumn · DATE
Class SectionRelation
class_section_idFK column
Student MasterModel
student_mastertable
Fee AmountField
fee_amountcolumn · DECIMAL
Is ActiveField
is_activecolumn · BOOLEAN
How It Works

From model definition to live database table

The schema generation pipeline runs automatically behind the scenes every time you make changes to your models.

01

Define or update a model visually

Add a new Model in the App Builder, define its fields, set relationships, and configure settings. SolidX stores your definitions as structured metadata.

02

Metadata is parsed by the schema engine

On save, the SolidX schema engine reads the updated metadata and identifies what changed — new fields, modified constraints, new relationships.

03

TypeORM entities are generated

The engine generates TypeORM Entity classes with all the correct column decorators, type mappings, relationship definitions, and custom naming strategy applied.

04

Schema is applied to the database

In development, TypeORM syncs the schema immediately. In production, SolidX generates a migration script for you to review and apply.

Skip the schema work entirely

Your models build
your database for you.

Define your data visually. SolidX handles the tables, columns, types, constraints, and migrations.

npx @solidxai/solidctl@latest create-app