Skip to content

Commit

Permalink
remove old fix which breaks with the new fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trbs committed May 13, 2015
1 parent 383b44e commit 74d93da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions django_extensions/management/commands/sqldiff.py
Expand Up @@ -131,10 +131,7 @@ class SQLDiff(object):
SQL_ERROR = lambda self, style, qn, args: style.NOTICE('-- Error: %s' % style.ERROR(args[0]))
SQL_COMMENT = lambda self, style, qn, args: style.NOTICE('-- Comment: %s' % style.SQL_TABLE(args[0]))
SQL_TABLE_MISSING_IN_DB = lambda self, style, qn, args: style.NOTICE('-- Table missing: %s' % args[0])
if django.VERSION[:2] >= (1, 8):
SQL_TABLE_MISSING_IN_MODEL = lambda self, style, qn, args: style.NOTICE('-- Model missing for table: %s' % args[0].name)
else:
SQL_TABLE_MISSING_IN_MODEL = lambda self, style, qn, args: style.NOTICE('-- Model missing for table: %s' % args[0])
SQL_TABLE_MISSING_IN_MODEL = lambda self, style, qn, args: style.NOTICE('-- Model missing for table: %s' % args[0])

can_detect_notnull_differ = False
can_detect_unsigned_differ = False
Expand Down

0 comments on commit 74d93da

Please sign in to comment.