public function setMigrationName($tableName)
{
// Check if "_table" is already supplied or if this is a "pivot" table
if (strpos($tableName, '_table') !== false || substr($tableName, -6) === '_pivot') {
// Since the migration name has already been set, return it intact
return $tableName;
}
// Create migration name
return "create_{$tableName}_table";
}