Explicitly not that string types are unsupported.
This commit is contained in:
parent
a4c73a8fb8
commit
17ef44485d
@ -175,6 +175,8 @@ class Database(object):
|
||||
table5 = db.create_table('population5',
|
||||
primary_id=False)
|
||||
"""
|
||||
assert not isinstance(primary_type, six.string_types), \
|
||||
'Text-based primary_type support is dropped, use db.types.'
|
||||
table_name = self._valid_table_name(table_name)
|
||||
self._acquire()
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user