cx-database-schema

Installation
SKILL.md

DATABASE_SCHEMA_SPEC

How to write a migration + Sequelize model in this repo.

Reference implementation:

  • Migration: cx-saas-server/migrations/20250320070220-create-deep-analysis.js
  • Model: cx-saas-server/packages/cx-datastore/src/models/DeepAnalysis.model.ts

Golden rule: the migration's columns and the model's init() columns must match 1:1. Migration builds the table; model maps to it. Keep them in lockstep.


Part 0 — Shared Conventions (apply to both)

File / name conventions

Installs
31
First Seen
Jun 12, 2026
cx-database-schema — surajkuushwaha/skills