Skip to content

Commit

Permalink
Update models.py (#541)
Browse files Browse the repository at this point in the history
removing duplicated `user_id` def
  • Loading branch information
Jimexist authored and mistercrunch committed Jun 1, 2016
1 parent 7d27692 commit 409233d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion caravel/models.py
Expand Up @@ -1276,7 +1276,6 @@ class Log(Model):
user_id = Column(Integer, ForeignKey('ab_user.id'))
dashboard_id = Column(Integer)
slice_id = Column(Integer)
user_id = Column(Integer, ForeignKey('ab_user.id'))
json = Column(Text)
user = relationship('User', backref='logs', foreign_keys=[user_id])
dttm = Column(DateTime, default=func.now())
Expand Down

0 comments on commit 409233d

Please sign in to comment.