[3.1.x] Fixed outdated notes in SchemaEditor docs.

Backport of 197b55c534 from master
This commit is contained in:
Mariusz Felisiak 2020-10-20 09:49:05 +02:00
parent d75cfe11e8
commit 012df8d2d3
1 changed files with 4 additions and 6 deletions

View File

@ -32,12 +32,10 @@ support foreign key constraints.
If you are writing or maintaining a third-party database backend for Django,
you will need to provide a ``SchemaEditor`` implementation in order to work with
1.7's migration functionality - however, as long as your database is relatively
standard in its use of SQL and relational design, you should be able to
subclass one of the built-in Django ``SchemaEditor`` classes and tweak the
syntax a little. Also note that there are a few new database features that
migrations will look for: ``can_rollback_ddl``
and ``supports_combined_alters`` are the most important.
Django's migration functionality - however, as long as your database is
relatively standard in its use of SQL and relational design, you should be able
to subclass one of the built-in Django ``SchemaEditor`` classes and tweak the
syntax a little.
Methods
=======