Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 483 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 483 Bytes

Drizzle commands

generate - Generates schema.ts and envConfig.ts files. push - Pushes the generated files to the database.

npm run db:generate npm run db:push

scripts:

"scripts": {
    "build": "next build",
    "dev": "next dev",
    "lint": "next lint",
    "prettier": "prettier --write --ignore-unknown .",
    "db:generate": "drizzle-kit generate:pg",
    "push": "drizzle-kit push:pg",
    "seed": "npx tsx be/seed.ts",
    "start": "next start"
  },