Skip to content

Commit

Permalink
Forgot to update models (bug 885426)
Browse files Browse the repository at this point in the history
Change-Id: Ic3ed3491839502e904a20a31b1032c941b008fba
  • Loading branch information
dolph committed Jan 25, 2012
1 parent b1581a1 commit 053345c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keystone/backends/sqlalchemy/models.py
Expand Up @@ -134,7 +134,7 @@ class Tenant(Base, KeystoneBase):
uid = Column(String(255), unique=True, nullable=False)
name = Column(String(255), unique=True)
desc = Column(String(255))
enabled = Column(Integer)
enabled = Column(Boolean)


class User(Base, KeystoneBase):
Expand All @@ -145,7 +145,7 @@ class User(Base, KeystoneBase):
name = Column(String(255), unique=True)
password = Column(String(255))
email = Column(String(255))
enabled = Column(Integer)
enabled = Column(Boolean)
tenant_id = Column(Integer, ForeignKey('tenants.id'))
roles = relationship(UserRoleAssociation, cascade="all")
credentials = relationship('Credentials', backref='user', cascade="all")
Expand Down

0 comments on commit 053345c

Please sign in to comment.