Add verbose output on number of sql migrations
This commit is contained in:
1 parent
cc5009109d
commit
271293919a
1 file changed
+1
@@ -123,6 +123,7 @@ class MigrationLinter:
|
||||
if not line.startswith('--'): # Do not take sql comments into account
|
||||
sql_statements.append(line.strip())
|
||||
diff_process.wait()
|
||||
log.info('Found {0} sql migration lines'.format(len(sql_statements)))
|
||||
return sql_statements
|
||||
|
||||
def _test_sql_statement_for_backward_incompatibility(self, sql_statement):
|
||||
|
||||
Reference in new issue
Block a user