No reason to have migration_number optional or default to None
This commit is contained in:
parent
77ab4b66ce
commit
0143c5a1e4
@ -188,7 +188,7 @@ class MigrationManager(object):
|
|||||||
# If no migrations have been set, we start at 0.
|
# If no migrations have been set, we start at 0.
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def set_current_migration(self, migration_number=None):
|
def set_current_migration(self, migration_number):
|
||||||
"""
|
"""
|
||||||
Set the migration in the database to migration_number
|
Set the migration in the database to migration_number
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user