Skip to content

Commit

Permalink
Merge pull request #9 from everhide/master
Browse files Browse the repository at this point in the history
Replace fakemodel_* naming for indexes to tablename_*
  • Loading branch information
timster committed Jun 10, 2019
2 parents 6291c1e + 73b3f45 commit 9450a76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peewee_moves.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def create_table(self, name, safe=False):
# set the database in the proxy
meta = creator.model._meta
meta.database.initialize(self.database)
meta.name = name

yield creator

Expand Down

0 comments on commit 9450a76

Please sign in to comment.