Hi! I've been working with Ory Kratos in developm...
# talk-kratos
w
Hi! I've been working with Ory Kratos in development and started looking at deploying it to infra today, only on registration in production I get:
{"error":{"code":500,"status":"Internal Server Error","message":"ERROR: column \"metadata_admin\" of relation \"identities\" does not exist (SQLSTATE 42703)"}}
I couldn't find any real documentation as to why, so I'm hoping someone else can point me in the right direction There are a few small changes between dev+prod that might have had an effect? • my
serve.public.base_url
needs to end in
/auth
(ie. not relative to the root) • I'm using postgres, and I want the schema in production to be
kratos
, so I use
&search_path=kratos
in the DSN (as suggested somewhere in the docs)
Actually looks like I was missing some migrations on a version update - this is now fixed!