You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd ./migration
npm i
npm run build
npm run migrate
3. It's ready to build
npm i
npm run build
npm start
Caveats
Generate Database @types
# Run it after migrated# Change --url param from package.json `db:schema` script
npm run db:schema
# or just run
kysely-codegen --dialect postgres --url postgres://user:password@host/databaseName --out-file ./src/lib/database/db.d.ts