Hi!

I manually uploaded a csv to Supabase and I'm getting an error when I try to introspect the new table with Prisma "The following models were commented out as we could not retrieve columns for them". I have RLS turned off, and have successfully introspected other tables in the project with no issues.
3 Replies
NanoBit
NanoBit3y ago
This isn't a solution, but my workflow with Prisma is that I fill the model in the schema.prisma then migrate over. I find Prisma's introspection very lacking (worse than SB), and it's easier with schema.prisma for relations.
dbco0per
dbco0perOP3y ago
Thanks for the reply! So if I understand correctly, I should just make a model to match columns in the CSV, then import csv into Supabase the data ishould be available?
NanoBit
NanoBit3y ago
The data would be available, but it would not be saved into Migrations sql if that's what you're looking to do

Did you find this page helpful?