No reason to have migration_number optional or default to None
This commit is contained in:
@@ -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
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user