Sequelize is a promise-based Node.js ORM supporting Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server. It offers solid transaction support, relations, eager and lazy loading, read replication, and more. This package (sequelize-hq) is a fork at v5.8.11-0.0.13, adding a safety feature to prevent accidental column deletion on alter sync. It follows SEMVER, requires Node >=6, and ships TypeScript types. Key differentiators include full-featured ORM with multiple database support, active community, and extensive documentation.
npm install sequelize-hqNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to establish a Sequelize connection, define a model, sync, and authenticate with configurable environment variables.
Use Model.init() with sequelize instance in options.
Remove operator aliases and use symbol operators from Op: { [Op.gt]: 5 }.Use async/await instead of .then() chains.
Set alertAndRemoveChangeColumn: true in sync options to prevent accidental column deletion, or handle manually.
Use import statements as shown in the quickstart.
Start your database service or check connection config: host, port, credentials.
Call await sequelize.sync() or manually create the table.
Add import { DataTypes } from 'sequelize-hq' at the top of the file.No dependency data recorded yet.