Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #37 from Vuader/development
Browse files Browse the repository at this point in the history
Bug fix #12
  • Loading branch information
Vuader committed Jul 19, 2018
2 parents 5d9cd50 + 8d8e5f2 commit 325e22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinitystone/models/user_roles.py
Expand Up @@ -55,7 +55,7 @@ class infinitystone_user_role(SQLModel):
tenant_id = SQLModel.String()
user_id = SQLModel.Uuid()
creation_time = SQLModel.DateTime(readonly=True, default=now)
unique_user_role = SQLModel.UniqueIndex(role_id, tenant_id, user_id)
unique_user_role = SQLModel.UniqueIndex(domain, role_id, tenant_id, user_id)
user_role_id_ref = SQLModel.ForeignKey(role_id, infinitystone_role.id)
user_role_domain_ref = SQLModel.ForeignKey(domain, infinitystone_domain.name)
user_role_tenant_ref = SQLModel.ForeignKey(tenant_id, infinitystone_tenant.id)
Expand Down

0 comments on commit 325e22d

Please sign in to comment.