Skip to content

Commit

Permalink
Add missing session.commit() at end of initdb
Browse files Browse the repository at this point in the history
The chart is added to the session but not committed.
  • Loading branch information
jlowin committed Mar 30, 2016
1 parent c5bf196 commit 43769bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/utils/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def initdb():
"GROUP BY state"),
)
session.add(chart)
session.commit()


def upgradedb():
Expand Down

0 comments on commit 43769bc

Please sign in to comment.