namespace PT renamed to pt

This commit is contained in:
2021-05-20 20:59:12 +02:00
parent d66a36cf21
commit e48a28a5c8
100 changed files with 597 additions and 597 deletions

View File

@@ -78,19 +78,19 @@ bool Migration::do_migration(morm::ModelConnector * model_connector, morm::Model
migration.table_version = current_table_version;
migration_status = migration.save();
PT::Log * log = model_connector->get_logger();
pt::Log * log = model_connector->get_logger();
if( log )
{
(*log) << PT::Log::log2 << "Migration: table " << table_name << " has been migrated to version " << current_table_version << PT::Log::logend;
(*log) << pt::Log::log2 << "Migration: table " << table_name << " has been migrated to version " << current_table_version << pt::Log::logend;
}
if( !migration_status && log )
{
(*log) << PT::Log::log1 << "Migration: table " << table_name << " has been migrated to version " << current_table_version;
(*log) << " but there was a problem with saving this information in the migration table." << PT::Log::logend;
(*log) << "Make sure the migration table is created and save/update following record there:" << PT::Log::logend;
(*log) << migration << PT::Log::logend;
(*log) << pt::Log::log1 << "Migration: table " << table_name << " has been migrated to version " << current_table_version;
(*log) << " but there was a problem with saving this information in the migration table." << pt::Log::logend;
(*log) << "Make sure the migration table is created and save/update following record there:" << pt::Log::logend;
(*log) << migration << pt::Log::logend;
}
}