Log the Done before returning
This commit is contained in:
1 parent
a59fb8bc26
commit
621a578787
1 file changed
+1
@@ -243,6 +243,7 @@ class Command(BaseCommand):
|
||||
)
|
||||
|
||||
if options['dry_run']:
|
||||
log.info('Done')
|
||||
return '\n'.join(schema.collected_sql)
|
||||
else:
|
||||
with db.connection.schema_editor(collect_sql=False) as schema_editor:
|
||||
|
||||
Reference in new issue
Block a user