diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-22 13:32:47 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-22 14:36:23 -0400 |
commit | 7918f86ac0dd55a7be863bf29a074b4edbe4b656 (patch) | |
tree | 13d53b04dbce20ddae2fe9cc7dd0e4d0f957d8cb /mediagoblin/db/models.py | |
parent | e36bb0ee18e1209b747aab4ea4d2539872fd694f (diff) | |
download | mediagoblin-7918f86ac0dd55a7be863bf29a074b4edbe4b656.tar.lz mediagoblin-7918f86ac0dd55a7be863bf29a074b4edbe4b656.tar.xz mediagoblin-7918f86ac0dd55a7be863bf29a074b4edbe4b656.zip |
Renamed the columns on core__privileges_users table so that they are unique and
will not cause any more problems.
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r-- | mediagoblin/db/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index b750375d..58635419 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -876,12 +876,12 @@ class PrivilegeUserAssociation(Base): __tablename__ = 'core__privileges_users' privilege_id = Column( - 'core__privilege_id', + 'id_of_privilege', Integer, ForeignKey(User.id), primary_key=True) user_id = Column( - 'core__user_id', + 'id_of_user', Integer, ForeignKey(Privilege.id), primary_key=True) |