Commonly used CLI for managing Atlassian Forge SQL database migrations and Drizzle ORM model generation. Version 2.1.29 (frequent releases) provides commands to auto-generate TypeScript entity files from a MySQL schema, create migration SQL, and update schemas. Integrates exclusively with Atlassian Forge environment; requires local install as dev dependency and usage via npm scripts. Differentiates by offering Forge-specific features like version tracking and environment-based configuration.
npm install forge-sql-orm-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, setup of npm scripts, and execution of model generation and migration creation.
Always define npm scripts as shown in quickstart and run via npm run.
Install with: npm install forge-sql-orm-cli -D --legacy-peer-deps
Manually set DB_HOST, DB_PORT, etc. in .env instead of using --saveEnv.
Ensure TypeScript compilation is set up or use ts-node to run scripts.
Run 'npm install forge-sql-orm-cli -D' first, then use 'npx forge-sql-orm-cli' or an npm script.
Provide --host, --user, --password, --dbName flags or set corresponding environment variables (DB_HOST, etc.).
Run 'generate:model' first to create entities, then point --entitiesPath to that output directory.