Show More
@@ -706,7 +706,6 b' class UserApiKeys(Base, BaseDbModel):' | |||
|
706 | 706 | Index('uak_api_key_expires_idx', 'api_key', 'expires'), |
|
707 | 707 | _table_args_default_dict, |
|
708 | 708 | ) |
|
709 | __mapper_args__ = {} | |
|
710 | 709 | |
|
711 | 710 | user_api_key_id = Column(Integer(), primary_key=True) |
|
712 | 711 | user_id = Column(Integer(), ForeignKey('users.user_id'), nullable=False) |
@@ -728,7 +727,6 b' class UserEmailMap(Base, BaseDbModel):' | |||
|
728 | 727 | Index('uem_email_idx', 'email'), |
|
729 | 728 | _table_args_default_dict, |
|
730 | 729 | ) |
|
731 | __mapper_args__ = {} | |
|
732 | 730 | |
|
733 | 731 | email_id = Column(Integer(), primary_key=True) |
|
734 | 732 | user_id = Column(Integer(), ForeignKey('users.user_id'), nullable=False) |
@@ -758,7 +756,6 b' class UserIpMap(Base, BaseDbModel):' | |||
|
758 | 756 | UniqueConstraint('user_id', 'ip_addr'), |
|
759 | 757 | _table_args_default_dict, |
|
760 | 758 | ) |
|
761 | __mapper_args__ = {} | |
|
762 | 759 | |
|
763 | 760 | ip_id = Column(Integer(), primary_key=True) |
|
764 | 761 | user_id = Column(Integer(), ForeignKey('users.user_id'), nullable=False) |
@@ -1470,7 +1467,6 b' class RepoGroup(Base, BaseDbModel):' | |||
|
1470 | 1467 | __table_args__ = ( |
|
1471 | 1468 | _table_args_default_dict, |
|
1472 | 1469 | ) |
|
1473 | __mapper_args__ = {'order_by': 'group_name'} # TODO: Deprecated as of SQLAlchemy 1.1. | |
|
1474 | 1470 | |
|
1475 | 1471 | SEP = ' » ' |
|
1476 | 1472 |
General Comments 0
You need to be logged in to leave comments.
Login now