v0.2.1
Fixed
- Lazy-load database drivers —
mysql2,mariadb,mssqland
better-sqlite3are now loaded only when a connection of that type is
actually created. Previously, importing the ORM caused all drivers to be
required at startup, resulting inCannot find module 'mysql2/promise'
for projects that only installedpg.
Upgrade
npm install @wrsouza/orion@0.2.1