return the correct response tryin to re-create a table
This commit is contained in:
parent
8b0f42afed
commit
31d30c8ea4
2 changed files with 8 additions and 1 deletions
|
|
@ -336,6 +336,8 @@ class DynamoDBBackend(BaseBackend):
|
|||
self.tables = OrderedDict()
|
||||
|
||||
def create_table(self, name, **params):
|
||||
if name in self.tables:
|
||||
return None
|
||||
table = Table(name, **params)
|
||||
self.tables[name] = table
|
||||
return table
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue