Improve error message when an unsupported database vendor/SQL analyser was selected.
This commit is contained in:
1 parent
9ad7bcced0
commit
a3fc5f1a50
4 files changed
+48
-9
No files matched your search
@@ -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
|
||||
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user