Hi.
I deployed an app I’m currently developing, just to try fly.io. I’ve created a proxy to the fly db to perform a nasty npx prisma db push
. Sure it is not conventional, but this is a dev environment, don’t judge me
However, I have the following prisma error:
Invalid `prisma.group.findUnique()` invocation: The table `public.Group` does not exist in the current database.
Using flyctl postgres connect
, I list the tables and test a selection on the Group table, with no success… But the table is listed.
# \dt
List of relations
Schema | Name | Type | Owner
--------+---------------------+-------+----------
public | Group | table | postgres
...
(19 rows)
# select * from Group;
ERROR: syntax error at or near "Group"
LINE 1: select * from Group;
^
When I create a proxy (flyctl proxy
…) to connect with pgAdmin, I can access the tables (and the content) in the public schema of my app db.
What could I do wrong?