<BUG>import io.quantumdb.core.schema.operations.CopyTable;
import io.quantumdb.core.utils.RandomHasher;
import io.quantumdb.core.versioning.TableMapping;</BUG>
import io.quantumdb.core.versioning.Version;
class CopyTableMigrator implements SchemaOperationMigrator<CopyTable> {
<BUG>@Override
public void migrate(Catalog catalog, TableMapping tableMapping, DataMappings dataMappings, Version version,
CopyTable operation) {
String tableId = RandomHasher.generateTableId(tableMapping);
</BUG>
String sourceTableName = operation.getSourceTableName();

package io.quantumdb.core.migration.operations;
import io.quantumdb.core.schema.definitions.Catalog;
import io.quantumdb.core.schema.definitions.ForeignKey;
import io.quantumdb.core.schema.definitions.Table;
import io.quantumdb.core.schema.operations.CopyTable;
import io.quantumdb.core.state.RefLog;
import io.quantumdb.core.state.RefLog.TableRef;
import io.quantumdb.core.utils.RandomHasher;
import io.quantumdb.core.versioning.Version;
class CopyTableMigrator implements SchemaOperationMigrator<CopyTable> {
@Override
public void migrate(Catalog catalog, RefLog refLog, Version version, CopyTable operation) {
String tableId = RandomHasher.generateTableId(refLog);
String sourceTableName = operation.getSourceTableName();
