Hi all! I've an issue. I've put new fields in one...
# orm-help
i
Hi all! I've an issue. I've put new fields in one of my schema model, but they doesn't show up in production. Everything is working in development mode (when i visit my website in the localhost), but in production (when i visit my url website) the new fields doen't show up. I'm hosting my Postgresql database on Supabase, i've also tried to make another database from scratch, but just these new fields just doesn't show up in production mode. I've tried everything, from npx migrate dev/deploy to db push, and as i said, even to create a new database from scratch! But nothing worked. I think this is a really strange issue, am i missing something?
d
That is very odd, the do you have two different databases, one for dev and one for prod? Are the new fields showing in your prod database in supabase?
i
Nope, just one database! As i said, everything shows up in dev, but not in production. Just these new fields, i can modify the previous fileds with no problem. I've also tried to run Prisma generate, but nothing. Can be a problem of supabase? Later i'll try heroku
d
I don't think it has to do with supabase. I have a few project using prisma and supabase and never had this problem. Can you confirm that all your migrations were executed and are on supabase, and that your prod branch or environment is up-to-date with the dev branch? If all is fine, could you share some screen shots of your migrations and the terminal output after running the migrations and generate command?
i
hey, i just upgraded prisma (i had the 2.23) to the 2.27 and apparently now is all working. I really feel stupid now, thank you anyway, and sorry for making losing your time!
d
No worries, glad it workout 😄
✅ 1