Although not explicitly in the SQL model definition, the FK is user.domain_id -> project.id is added in a migration: https://github.com/openstack/keystone/blob/2bd88d3/keystone/common/sql/expand_repo/versions/014_expand_add_domain_id_to_user_table.py#L140-L141
Although not explicitly in the SQL model definition, the FK is user.domain_id -> project.id is added in a migration: https:/ /github. com/openstack/ keystone/ blob/2bd88d3/ keystone/ common/ sql/expand_ repo/versions/ 014_expand_ add_domain_ id_to_user_ table.py# L140-L141