Skip to content

db:typegen

Generate types from the database schema

Usage

db:typegen [options]

Options

Local

  • --linked - Generate types from the linked database instead of the local one

Global

  • -V, --version - output the version number

  • -v, --verbose - Increase output level

  • -f, --force - Force the operation to run without asking for confirmation.

  • --linked - Works with the linked database instead of the local one.