mediamosa_migration.inc

    • Migration functions.

Constants

NameDescription
MIG_MEMO
MIG_MEMO_DATA
MIG_VPX_FTP

Functions

NameDescription
_mediamosa_db_table_existsCheck if a table exists in current database.
_mediamosa_migration_assetMigrate the asset table.
_mediamosa_migration_asset_deleteMigrate asset_delete table..
_mediamosa_migration_asset_metadataMigrate the asset metadata table.
_mediamosa_migration_asset_metadata_propertyMigrate the asset metadata property table.
_mediamosa_migration_asset_metadata_property_groupMigrate the asset metadata property group table.
_mediamosa_migration_asset_supplementMigrate asset supplement table..
_mediamosa_migration_autMigrate the asset metadata table.
_mediamosa_migration_client_applicationsMigrate the client_applications table.
_mediamosa_migration_collectionMigrate collection table..
_mediamosa_migration_create_server_nodesMigrate server table to nodes mediamosa_server.
_mediamosa_migration_empty_tablesLoop through table names and check if they exists.
_mediamosa_migration_errorMigrate the error table.
_mediamosa_migration_ftp_batchMigrate ftp_batch table..
_mediamosa_migration_get_memo_data_dbGet the database name of the mediamosa data database.
_mediamosa_migration_get_memo_dbGet the database name of the mediamosa drupal database.
_mediamosa_migration_get_vpx_data_dbGet the database name of the vpx_ftp data database.
_mediamosa_migration_jobMigrate job tables.
_mediamosa_migration_jobserver
_mediamosa_migration_jobserver_allMigrate jobserver tables.
_mediamosa_migration_kill_child_assetsMigrate childs asset mediafiles to the root. Remove childs assets.
_mediamosa_migration_mediafileMigrate the mediafile table.
_mediamosa_migration_mediafileid_is_uniqueCheck if the medafile 1.x table has unique mediafile ids. This is because mediafile table has invalid primary key, which will be fixed in 2.x.
_mediamosa_migration_mediafile_metadataMigrate the mediafile metadata table.
_mediamosa_migration_sannasMigrate san nas settings.
_mediamosa_migration_settings
_mediamosa_migration_statistics
_mediamosa_migration_tables_existsLoop through table names and check if they exists.
_mediamosa_migration_ticketMigrate ticket table..
_mediamosa_migration_transcodeMigrate transcode_* tables.
_mediamosa_migration_userMigrate user/group table..
_mediamosa_migration_vpx_ftp
_mediamosa_migration_webserviceMigrate webservice table..
_mediamosa_requirements_testTest if all is ok to migrate