···23- Whenever there are changes to existing sql schema files (`.sql.ts`) or new schema files are created, you must run `npm run db:generate`.
4- This will generate migration files for drizzle to run during app initialization
000000000000
···23- Whenever there are changes to existing sql schema files (`.sql.ts`) or new schema files are created, you must run `npm run db:generate`.
4- This will generate migration files for drizzle to run during app initialization
5+6+## Fly.io managed postgres
7+8+- connect with psql `fly mpg connect`
9+10+## deployment
11+12+- `fly launch` (create/configure/deploy new app)
13+- `fly deploy` (deploy app/redeploy after changes)
14+- `fly logs --app annos`
15+- `fly secrets set SUPER_SECRET_KEY=password1234`
16+- make sure that new environment vars are added as secrets with the above command