-
Set
AUTH_GITHUB_ID
andAUTH_GITHUB_SECRET
, could be found on GitHub -
Set
DATABASE_URL
in formatmysql://USER:PASSWORD@HOST:PORT/DATABASE
-
Set
EDGE_CONFIG
,VERCEL_API_TOKEN
, andEDGE_CONFIG_ID
found on Vercel -
For development only, set
CRON_SECRET
with random string
# Add migration
npx prisma migrate dev --name {migration name here}
npx prisma generate
# Update DB schema without adding migrations
npx prisma db push
# Reset migrations and schema
rm -rf prisma/migrations
npx prisma db push --force-reset && npx prisma db push