import logging import re from .utils import update_migration_tests logger = logging.getLogger(__name__) def has_not_null_column(sql_statements, **kwargs): # TODO: improve to detect that the same column is concerned return any( re.search("(?