# sequelize/sequelize-auto

Automatically generate bare sequelize models from your database.

Repository: https://github.com/sequelize/sequelize-auto
Canonical: https://ross.abutalabs.com/products/sequelize-auto
Language: TypeScript
License Family: other
Topics: javascript, database, sequelize, orm
Last push: 2024-08-20T10:07:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4831, "days_push": 743, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2926, forks 523 (observed 2026-08-28T04:07:30.423032+00:00)

## What it is
A command-line tool that connects to an existing database (MySQL/MariaDB, Postgres, SQLite, or MSSQL) and automatically generates bare Sequelize model files from its schema. It supports TypeScript output, config files, and per-table model options.

## Use cases
- generate sequelize models from an existing mysql database
- reverse-engineer postgres schema into sequelize models
- create typescript sequelize models from sqlite tables
- scaffold orm models for a legacy mssql database
- bootstrap node.js backend models without writing them by hand

## When to choose
- you already have a database schema and want Sequelize models generated automatically
- you want to avoid hand-writing model definitions for many tables
- you need TypeScript model output for a Sequelize project

## When to avoid
- you are starting schema-first and prefer migrations to define models
- you use an ORM other than Sequelize
- you need generated models with custom business logic baked in

## Facets
- artifact type: cli-tool
- maturity: active
- function: orm, database, cli
- domain: databases, developer-tools, backend, web-development
- platform: cli, cross-platform
- tags: sequelize, model-generator, mysql, postgres, sqlite, mssql, typescript, schema-introspection, code-generation, nodejs

## Member repositories
- sequelize/sequelize-auto (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.423032+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:33:37.074269+00:00, confidence not recorded.
  - readme: https://github.com/sequelize/sequelize-auto (fetched 2026-08-28T04:07:30.423032+00:00, sha 459e3232ca60)
  - registry_npm: https://registry.npmjs.org/sequelize-auto (fetched 2026-08-29T09:49:09.434482+00:00, sha 69fc13bb33cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
