Skip to content

Commit

Permalink
Merge pull request #668 from cou929/fix-all_models
Browse files Browse the repository at this point in the history
Fix: AlertSubscription missing in all_models
  • Loading branch information
arikfr committed Nov 23, 2015
2 parents 5bf370d + 51a10e5 commit feabc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/models.py
Expand Up @@ -875,7 +875,7 @@ def record(cls, event):
return event


all_models = (DataSource, User, QueryResult, Query, Alert, Dashboard, Visualization, Widget, ActivityLog, Group, Event)
all_models = (DataSource, User, QueryResult, Query, Alert, AlertSubscription, Dashboard, Visualization, Widget, ActivityLog, Group, Event)


def init_db():
Expand Down

0 comments on commit feabc46

Please sign in to comment.