diff --git a/django/core/management/commands/makemigrations.py b/django/core/management/commands/makemigrations.py
index b8c0548..77e8ce9 100644
a
|
b
|
class Command(BaseCommand):
|
95 | 95 | |
96 | 96 | # Raise an error if any migrations are applied before their dependencies. |
97 | 97 | for db in connections: |
98 | | loader.check_consistent_history(connections[db]) |
| 98 | if connections[db].is_usable(): |
| 99 | loader.check_consistent_history(connections[db]) |
99 | 100 | |
100 | 101 | # Before anything else, see if there's conflicting apps and drop out |
101 | 102 | # hard if there are any and they don't want to merge |
diff --git a/django/db/backends/dummy/base.py b/django/db/backends/dummy/base.py
index f45d913..aab92e3 100644
a
|
b
|
class DatabaseWrapper(BaseDatabaseWrapper):
|
83 | 83 | self.validation = BaseDatabaseValidation(self) |
84 | 84 | |
85 | 85 | def is_usable(self): |
86 | | return True |
| 86 | return False |