Adding postgres to the build matrix (#604)

This commit is contained in:
Maxime Beauchemin
2016-06-12 11:01:16 -07:00
committed by GitHub
parent c490138afe
commit fa13b77cfa
7 changed files with 25 additions and 19 deletions

View File

@@ -581,7 +581,7 @@ def load_birth_names():
print("Done loading table!")
print("-" * 80)
print("Creating table reference")
print("Creating table [birth_names] reference")
obj = db.session.query(TBL).filter_by(table_name='birth_names').first()
if not obj:
obj = TBL(table_name='birth_names')
@@ -829,7 +829,7 @@ def load_unicode_test_data():
print("Done loading table!")
print("-" * 80)
print("Creating table reference")
print("Creating table [unicode_test] reference")
obj = db.session.query(TBL).filter_by(table_name='unicode_test').first()
if not obj:
obj = TBL(table_name='unicode_test')
@@ -908,7 +908,7 @@ def load_random_time_series_data():
print("Done loading table!")
print("-" * 80)
print("Creating table reference")
print("Creating table [random_time_series] reference")
obj = db.session.query(TBL).filter_by(table_name='random_time_series').first()
if not obj:
obj = TBL(table_name='random_time_series')