Fix: idempotent migration policy creation #99

Merged
will.anderson merged 1 commits from fix/stage-ci-paths into dev 2026-05-11 18:56:38 +00:00
Owner

DROP POLICY IF EXISTS before CREATE POLICY in demo_config and user_api_keys migrations. demo_config was manually applied to the DB before CI migration tracking was set up — the policy already existed, causing CREATE POLICY to fail.

DROP POLICY IF EXISTS before CREATE POLICY in demo_config and user_api_keys migrations. demo_config was manually applied to the DB before CI migration tracking was set up — the policy already existed, causing CREATE POLICY to fail.
will.anderson added 1 commit 2026-05-11 18:56:21 +00:00
DROP POLICY IF EXISTS before CREATE POLICY so migrations can be
re-applied to a DB that already has the policy (e.g. demo_config
was manually applied before migration tracking was set up).
will.anderson merged commit 1264e32577 into dev 2026-05-11 18:56:38 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#99