Improve error message when an unsupported database vendor/SQL analyser was selected.

This commit is contained in:
Sören Wegener authored and David Wobrock committed 2022-10-03 15:48:11 +02:00
1 parent 9ad7bcced0
commit a3fc5f1a50
4 files changed
+48 -9

No files matched your search

+15 -6
View File
@@ -16,15 +16,24 @@ It will save you time by making sure migrations will not break with a older code
pip install django-migration-linter
```
And add the migration linter your ``INSTALLED_APPS``:
And add the migration linter to your ``INSTALLED_APPS``:
```
INSTALLED_APPS = [
...,
"django_migration_linter",
...,
]
INSTALLED_APPS = [
...,
"django_migration_linter",
...,
]
```
Optionally, add a configuration:
```
MIGRATION_LINTER_OPTIONS = {
...
}
```
For details about configuration options, checkout [Usage](docs/usage.md).
## Usage example
```