npm.io
5.0.3 • Published yesterdayCLI

@nextastic/db

Licence
MIT
Version
5.0.3
Deps
7
Size
40 kB
Vulns
3
Weekly
0
Stars
2

@nextastic/db

Database utils to create migrations, generate types, and run database commands

Usage

Commands

npx db <command>

make:migration

Creates a migration file.

migrate

Runs migration files

make:types

Generates database schema types.

drop

Drops the database and deletes all records permanently.

DB Client

The database client is a type-safe query builder that references your database schema.