Underbase

Underbase

  • Docs
  • Guides
  • API
  • GitHub

›Guides

Get started

  • Introduction
  • Installation
  • Configuration
  • Writting migrations
  • Module usage
  • Logging
  • Troubleshooting

Guides

  • Organizing migrations
  • Babel usage
  • Working with backups
  • Typescript usage

API

  • Module
  • Configuration API
  • Query Interface
  • Module for development
Edit

Typescript usage

Underbase support third-party compilers to run migrations such as Babel, Typescript and ESM.

See this code example.

Instructions

First, ensure you have the following packages installed :

  • typescript
  • ts-node
  • @underbase/cli
  • @underbase/types

No need to use tsconfig.json! You can then use Typescript to transpile migration files on the fly :

underbase --require ts-node/register --config underbase.config.js
← Working with backupsModule →
  • Instructions
Underbase
Guides
Working with backupsWorking with continuous deploymentAPI Reference
Community
Stack OverflowIssues tracker
More
Release notesGitHub