1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed outdated notes in SchemaEditor docs.

This commit is contained in:
Mariusz Felisiak 2020-10-20 09:49:05 +02:00 committed by GitHub
parent f7963615eb
commit 197b55c534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
=======