Acro
Explore posts from serversDTDrizzle Team
•Created by Acro on 3/21/2024 in #help
Examples for Error Handling?
I am looking through docs on how to handle DB errors, but not finding a list of error codes. For example,
UNIQUE
or NOT NULL
constraints to check for. Or is this something I need to look at Postgres.js
docs for?
Pseudocode below using Sqlite, but want to know for Postgres.js
2 replies
DTDrizzle Team
•Created by Acro on 3/21/2024 in #help
When to use what? drizzle-kit push:* Vs. having a file with drizzle migrate client?
Option 1:
package.json script
drizzle-kit push:pg
Option 2:
migrate.ts
script
6 replies