Skip to content

Database

VibeX supports SQLite, MySQL, PostgreSQL, MariaDB, and more via MikroORM.

Configuration

Set your database in vibe.config.ts:

ts
export default {
  database: {
    type: 'sqlite',
    url: 'sqlite://./todo-app.db',
  }
}

Migrations

bash
bun run cli migrate

See Entities and CLI.