regclass error
I'm trying to deploy a MedusaJS(commerce platform) instance using Xata.
There is an error during the migration process:
MedusaJS tries to run:
And it results in the error on Xata side:
invalid SQL: ERROR: relation "public.mikro_orm_migrations" does not exist (SQLSTATE 42P01)
But the sql: SELECT * from public.mikro_orm_migrations
returns the rows. So the table is there.
The issue is probably caused by the "::regclass::oid" syntax that Medusa/its underlying ORM(Mikro-ORM) tries to run.
Is this something Xata can/wants to support for non-dedicated databases?1 Reply
Hi, thanks for reaching out. I believe you are correct regarding the
::regclass::oid
being the issue here along with permissions and Xata's shared cluster architecture. Unfortunately, Xata does not actively support MedusaJS and we have no plans to do so in the near future.