younes
Explore posts from serversTTCTheo's Typesafe Cult
•Created by younes on 2/4/2025 in #questions
t3/env strange behavior on validation
Hi, while using t3 env, I encountered an issue that caused this error message:
attempted to access a server-side environment variable on the client.
However, the variable in question is consumed by a server action. I’m not sure if this is a bug or if environment variables read within a server action are actually exposed to the client6 replies
DTDrizzle Team
•Created by younes on 9/23/2024 in #help
migration best practice
Hi, I'm wondering how to add a column with a notNull() restriction in a table that already contains records, I mean the records present before adding this column will automatically not respect the notnull restriction which will generate errors during migration, is there a good way to handle this case?
5 replies
PPrisma
•Created by younes on 5/28/2024 in #help-and-questions
P3009 error on deploy
Hi im facing a strange issue with this error:
Error: P3009
636migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
637The
20240528074437_rmv_clothing_table
migration started at 2024-05-28 09:07:03.450140 UTC failed
638error Command failed with exit code 1.
I’ve deleted the migration file but the etror still refer to it and I don’t undertstand why is this related to caching ?3 replies