From 0d9b2877e20c267f1c2e1de0db35a862c193ae11 Mon Sep 17 00:00:00 2001 From: Friedrich Lindenberg Date: Sun, 18 Feb 2018 10:22:22 +0100 Subject: [PATCH] reflect table again, hoping that helps with sync errors --- dataset/table.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dataset/table.py b/dataset/table.py index ed93f77..f4fabf3 100644 --- a/dataset/table.py +++ b/dataset/table.py @@ -246,6 +246,7 @@ class Table(object): self._table.create(self.db.executable, checkfirst=True) elif len(columns): with self.db.lock: + self._reflect_table() self._threading_warn() for column in columns: if not self.has_column(column.name): diff --git a/setup.py b/setup.py index 7863323..7bca119 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='dataset', - version='1.0.5', + version='1.0.6', description="Toolkit for Python-based database access.", long_description="", classifiers=[