You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Add foreign key constraint on namespace_key column referencing key column of namespaces table
ALTER TABLE rules ADD FOREIGN KEY (namespace_key) REFERENCES namespaces(key) ON DELETE CASCADE;
ALTER TABLE rules ADD FOREIGN KEY (namespace_key, flag_key) REFERENCES flags(namespace_key, key) ON DELETE CASCADE;
ALTER TABLE rules ADD FOREIGN KEY (namespace_key, segment_key) REFERENCES segments(namespace_key, key) ON DELETE CASCADE; (details: ERROR: unimplemented: cannot perform a primary key change on flags with other schema changes on flags in the same transaction (SQLSTATE 0A000))
The migration fails on all CockroachDB versions later than latest-v21.2.
Bug Description
The migration fails on all CockroachDB versions later than
latest-v21.2
.Version Info
Search
Steps to Reproduce
cd examples/database/cockroachdb/
change docker-compose.yml
image: cockroachdb/cockroach:latest-v21.2
to
image: cockroachdb/cockroach:latest-v23.2
run
docker compose up
Expected Behavior
the migration completes successfully
Additional Context
No response
The text was updated successfully, but these errors were encountered: