# Functions
DoesCollectionExist checks if a collection exists in the MongoDB database.
DoesTableExist checks if a table exists in the database.
GetDbName returns the name of the MongoDB database.
MigrateMongo migrates the MongoDB collections and creates necessary indexes.
MigrateSql migrates the SQL tables.