reflect table again, hoping that helps with sync errors
This commit is contained in:
parent
6a65510642
commit
0d9b2877e2
@ -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):
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -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=[
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user