Bases: object
Used for downgrading database.
Parameters: | version (string) – Desired database version |
---|
Used for availability verification of a plugin.
Return type: | bool |
---|
Checks whether the repo contains a revision
Parameters: | rev_id – Revision to check |
---|---|
Returns: | Whether the revision is in the repo |
Return type: | bool |
Used to generate migration script.
In migration engines that support this feature, it should generate new migration script.
Accept arbitrary set of arguments.
Stamps database based on plugin features.
Accept arbitrary set of arguments.
Used for upgrading database.
Parameters: | version (string) – Desired database version |
---|
Current database version.
Returns: | Databse version |
---|---|
Return type: | string |