Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/patches/20130703.legalpaddocdenorm.php
| <?php | <?php | ||||
| echo "Populating Legalpad Documents with ", | echo 'Populating Legalpad Documents with ', | ||||
| "titles, recentContributorPHIDs, and contributorCounts...\n"; | "titles, recentContributorPHIDs, and contributorCounts...\n"; | ||||
| $table = new LegalpadDocument(); | $table = new LegalpadDocument(); | ||||
| $table->openTransaction(); | $table->openTransaction(); | ||||
| foreach (new LiskMigrationIterator($table) as $document) { | foreach (new LiskMigrationIterator($table) as $document) { | ||||
| $updated = false; | $updated = false; | ||||
| $id = $document->getID(); | $id = $document->getID(); | ||||
| Show All 35 Lines | |||||