Xafets
DTDrizzle Team
•Created by Xafets on 10/9/2023 in #help
`db:push` with `customType` causes data loss
Running db:push consecutively without changing the schema causes alterations and truncation, only for
customType
columns:
You're about to change dollars column type from numeric(16, 2) to numeric(16,2) with 50 items
6 replies
DTDrizzle Team
•Created by Xafets on 8/1/2023 in #help
Unchanged schema, `db:push:pg` generates faulty `ALTER` statements
Schema:
Running
db:push:pg
successively, with no changes to schema:
1 replies
DTDrizzle Team
•Created by Xafets on 8/1/2023 in #help
Get `id` of inserted row
Is this the right way to get the id of an insert? It feels incredibly cumbersome for such a common pattern, so feel like I'm doing something wrong:
23 replies
DTDrizzle Team
•Created by Xafets on 8/1/2023 in #help
Column primary key not working
What am I doing wrong when defining my primary key here?
column:
Generated SQL:
Error:
2 replies