|
@@ -82,7 +82,7 @@ def run_migrations(folder, version_from, version_to, no_run, file_runners):
|
82
|
82
|
print('Not running because --no-run was specified')
|
83
|
83
|
|
84
|
84
|
if version_from is None:
|
85
|
|
- print('Initialising from %s (inclusive) to %s (inclusive)' % (versions[0], version_to))
|
|
85
|
+ print('Initializing from %s (inclusive) to %s (inclusive)' % (versions[0], version_to))
|
86
|
86
|
else:
|
87
|
87
|
print('Migrating from %s (exclusive) to %s (inclusive)' % (version_from, version_to))
|
88
|
88
|
|
|
@@ -100,6 +100,11 @@ def run_migrations(folder, version_from, version_to, no_run, file_runners):
|
100
|
100
|
run_migration(folder, files, version, no_run, file_runners)
|
101
|
101
|
last_version = version
|
102
|
102
|
|
|
103
|
+ if version_from is None:
|
|
104
|
+ print('Initialized from %s (inclusive) to %s (inclusive)' % (versions[0], version_to))
|
|
105
|
+ else:
|
|
106
|
+ print('Migrated from %s (exclusive) to %s (inclusive)' % (version_from, version_to))
|
|
107
|
+
|
103
|
108
|
return 0
|
104
|
109
|
|
105
|
110
|
def main():
|