@nextastic/db
v2.0.9
Published
Database utils to create migrations and types.
Downloads
1,275
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.