fanckush
fanckush
DTDrizzle Team
Created by fanckush on 1/15/2024 in #help
db:push stuck on same question
I added a unqiue constraint to a table and when i do db:push command i get the following:
· You're about to add fulfillments_products_fulfillments_id_identification_number_product_id_unique unique constraint to the table, which contains 23 items. If this statement fails, you will receive an error from the database. Do you want to truncate fulfillments_products table?

[✓] Changes applied`
· You're about to add fulfillments_products_fulfillments_id_identification_number_product_id_unique unique constraint to the table, which contains 23 items. If this statement fails, you will receive an error from the database. Do you want to truncate fulfillments_products table?

[✓] Changes applied`
when i run it db:push again directly after (without any changes to my schema) i get the exact same message over and over and over no matter how many times i run this command it will forever ask me about this constraint more info: $ drizzle-kit push:pg drizzle-kit: v0.20.10 drizzle-orm: v0.29.3-8c0788a
1 replies