Database migration operationsLink to this heading
All of these operations are available from
the django.contrib.postgres.operations module.
CreateExtensionLink to this heading
- class CreateExtension(name)Link to this definition
An
Operationsubclass which installs PostgreSQL extensions.- nameLink to this definition
This is a required argument. The name of the extension to be installed.
HStoreExtensionLink to this heading
- class HStoreExtensionLink to this definition
A subclass of
CreateExtensionwhich will install thehstoreextension and also immediately set up the connection to interpret hstore data.
UnaccentExtensionLink to this heading
- class UnaccentExtensionLink to this definition
A subclass of
CreateExtensionwhich will install theunaccentextension.