Node.js library for synchronizing SQL DDL schemas across MySQL, PostgreSQL, and SQLite. Version 0.4.0 is the latest stable release (no longer actively developed). It is part of the ORM2 ecosystem, used to automatically create, alter, or drop database tables to match defined model collections. Key differentiator: it handles schema migrations without manual SQL, but lacks documentation and is tied to the ORM2 driver interface.
npm install sql-ddl-syncNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: connect ORM, define a collection, and synchronize to create table.
Ensure you have orm installed and connect before using Sync.
Create a .d.ts file for Sync or use // @ts-ignore.
npm install orm and the appropriate database driver (e.g., mysql).
Use: const sync = new Sync({...});No dependency data recorded yet.