Add has_one association from domain to realm so that you can destroy a domain that is a realm's primary domain without getting foreign key reference violation.
Add has_one association from domain to realm so that you can destroy a domain that is a realm's primary domain without getting foreign key reference violation.

bengler/checkpoint,bengler/checkpoint,bengler/checkpoint,bengler/checkpoint