reflect table again, hoping that helps with sync errors

This commit is contained in:
Friedrich Lindenberg 2018-02-18 10:22:22 +01:00
parent 6a65510642
commit 0d9b2877e2
2 changed files with 2 additions and 1 deletions

View File

@ -246,6 +246,7 @@ class Table(object):
self._table.create(self.db.executable, checkfirst=True) self._table.create(self.db.executable, checkfirst=True)
elif len(columns): elif len(columns):
with self.db.lock: with self.db.lock:
self._reflect_table()
self._threading_warn() self._threading_warn()
for column in columns: for column in columns:
if not self.has_column(column.name): if not self.has_column(column.name):

View File

@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup( setup(
name='dataset', name='dataset',
version='1.0.5', version='1.0.6',
description="Toolkit for Python-based database access.", description="Toolkit for Python-based database access.",
long_description="", long_description="",
classifiers=[ classifiers=[