I’m trying to spin up an n8n instance in kubernetes as a fresh install. I have a database created and the connection works (it created 22 tables) but then the docker container bombs out with a migration error.
I should also mention that I tried a publicly accessible postgres instance in AWS RDS and it connected but didn’t even create the tables.
What is the error message (if any)?
n8n-main-678685d966-4k852:n8n-main Error: There was an error running database migrations
n8n-main-678685d966-4k852:n8n-main QueryFailedError: Cannot change column 'workflowId': used in a foreign key constraint 'fk_<DB PREFIX>_execution_entity_workflow_id'
thank you for the help. I’m struggling to get my Postgres DB up and running but I will keep trying and report back if the issue is resolved by changing it out.
Luckily since it’s a test environment and a new deployment it isn’t too hard to re-deploy the steps with new settings.