Page MenuHomePhorge

20150501.calendar.2.reply.php
No OneTemporary

Size
445 B
Referenced Files
None
Subscribers
None

20150501.calendar.2.reply.php

<?php
echo "Adding mailkeys to events.\n";
$table = new PhabricatorCalendarEvent();
$conn_w = $table->establishConnection('w');
$iterator = new LiskMigrationIterator($table);
foreach ($iterator as $event) {
$id = $event->getID();
echo "Populating event {$id}...\n";
queryfx(
$conn_w,
'UPDATE %T SET mailKey = %s WHERE id = %d',
$table->getTableName(),
Filesystem::readRandomCharacters(20),
$id);
}
echo "Done.\n";

File Metadata

Mime Type
text/x-php
Expires
Mon, Jun 30, 6:33 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
271097
Default Alt Text
20150501.calendar.2.reply.php (445 B)

Event Timeline