Minor - updated style of migration count report

skala
Yannick Warnier 14 years ago
parent d605b46344
commit 7feb5f6280
  1. 2
      tests/migrate/count_report.php

@ -8,6 +8,7 @@ $tables = array(
'session_rel_course_rel_user',
'gradebook_category',
);
echo "\n--- Post-migration count report ---\n";
foreach ($tables as $table) {
$sql = "SELECT count(*) FROM $table";
$res = Database::query($sql);
@ -19,3 +20,4 @@ foreach ($tables as $table) {
echo "Table $table has $count items after migration\n";
}
}
echo "\n";

Loading…
Cancel
Save