Comment 4 for bug 1760843

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/559676
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=b6da8a1b8976579e4bf4025b58a69a9be539c847
Submitter: Zuul
Branch: master

commit b6da8a1b8976579e4bf4025b58a69a9be539c847
Author: wangxiyuan <email address hidden>
Date: Mon Apr 9 17:25:14 2018 +0800

    Update IdP sql model

    Base on the database schema, the domain_id column in identity_provider
    is not unique and has the ForeignKey for project.id. But the IdP sql
    model is different. It marks the domain_id is unique and the ForeignKey
    is lost.

    This patch removes the unique restriction and adds the FK back, ultimately
    making the relationship between domains and identity provider 1:many.

    Change-Id: I13ecb0ab0434f5614f31d151e708f299cf8e8adb
    Partial-bug: #1760843