@nextastic/db
v4.0.0
Published
Database utils to create migrations and types.
Downloads
367
Readme
@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.