From 43769bc4d658029b753ed5b87012b4855d5bca69 Mon Sep 17 00:00:00 2001 From: jlowin Date: Wed, 30 Mar 2016 18:34:33 -0400 Subject: [PATCH] Add missing session.commit() at end of initdb The chart is added to the session but not committed. --- airflow/utils/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/utils/db.py b/airflow/utils/db.py index d3a69db57e312..430026ea2b2bc 100644 --- a/airflow/utils/db.py +++ b/airflow/utils/db.py @@ -199,6 +199,7 @@ def initdb(): "GROUP BY state"), ) session.add(chart) + session.commit() def upgradedb():