📄️ Database Overview
Ever Gauzy supports multiple databases and ORMs, providing flexibility for different deployment scenarios.
📄️ TypeORM Setup
TypeORM is the primary ORM in Ever Gauzy, providing the Active Record and Data Mapper patterns for database operations.
📄️ MikroORM Setup
MikroORM is the alternative ORM in Ever Gauzy, providing stricter metadata validation, identity maps, and the Unit of Work pattern.
📄️ Knex Setup
Knex.js is a SQL query builder available in Ever Gauzy for complex queries, raw SQL operations, and database-level migrations that bypass ORM abstraction.
📄️ Migrations
Database migrations manage schema changes across environments in a controlled, versioned manner.
📄️ Database Seeding
Ever Gauzy includes database seeders to populate demo data, default configurations, and test fixtures.
📄️ Multi-ORM Entities
How to define database entities in Ever Gauzy using the shared Multi-ORM decorator system for compatibility with both TypeORM and MikroORM.
📄️ Tenant Filtering
Documentation of how tenant-scoped data isolation is enforced at the ORM level, including intentional bypasses and their justifications.