6.116. sibl_gui.components.core.database.migrations.versions.001_rename_table_Sets

001_rename_table_Sets.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the 001 version Application Database migrations objects: upgrade() and downgrade() definitions.

Others:

6.116.1. Module Attributes

sibl_gui.components.core.database.migrations.versions.001_rename_table_Sets.LOGGER

6.116.2. Functions

sibl_gui.components.core.database.migrations.versions.001_rename_table_Sets.renameTable(databaseEngine, currrentName, newName)[source]

This definition renames given Database table name to given new name.

Parameters:
  • databaseEngine – Database engine. ( Object )
  • currrentName – Source table name. ( String )
  • newName – Target table name. ( String )
Returns:

Method success. ( Boolean )

sibl_gui.components.core.database.migrations.versions.001_rename_table_Sets.upgrade(databaseEngine)[source]

This definition upgrades the Database.

Parameters:databaseEngine – Database engine. ( Object )
sibl_gui.components.core.database.migrations.versions.001_rename_table_Sets.downgrade(databaseEngine)[source]

This definition downgrades the Database.

Parameters:databaseEngine – Database engine. ( Object )