Good News! You don’t need to set up anything for your database.
Database Schema
Database Utilities
useDB()
The useDB()
composable allows you to conveniently reference your tables and interact directly with the Drizzle API.
Select
Insert
Update
Delete
Database Migrations
Database migrations provide version control for your database schema. Migrations created withnpm run db:generate
are automatically applied during deployment, preview and when starting the development server.
You can find the migrations in server/database/migrations
.
Most of the time, you don’t need to touch it.