Page MenuHomePhorge

20150515.project.mailkey.2.php
No OneTemporary

Size
417 B
Referenced Files
None
Subscribers
None

20150515.project.mailkey.2.php

<?php
$table = new PhabricatorProject();
$conn_w = $table->establishConnection('w');
$iterator = new LiskMigrationIterator($table);
foreach ($iterator as $project) {
$id = $project->getID();
echo pht('Adding mail key for project %d...', $id);
echo "\n";
queryfx(
$conn_w,
'UPDATE %T SET mailKey = %s WHERE id = %d',
$table->getTableName(),
Filesystem::readRandomCharacters(20),
$id);
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Jul 17, 6:16 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
365799
Default Alt Text
20150515.project.mailkey.2.php (417 B)

Event Timeline