2013-06-14 16:04:41 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$table = new PhabricatorUser();
|
2019-02-06 17:51:42 +01:00
|
|
|
$conn = $table->establishConnection('w');
|
2013-06-14 16:04:41 +02:00
|
|
|
$table_name = 'user_oauthinfo';
|
|
|
|
|
2019-02-06 17:51:42 +01:00
|
|
|
foreach (new LiskRawMigrationIterator($conn, $table_name) as $row) {
|
|
|
|
throw new Exception(
|
|
|
|
pht(
|
2022-04-25 22:04:49 +02:00
|
|
|
'This database has ancient OAuth account data and is too old to '.
|
|
|
|
'upgrade directly to a modern software version. Upgrade to a version '.
|
|
|
|
'released between June 2013 and February 2019 first, then upgrade to '.
|
|
|
|
'a modern version.'));
|
2013-06-14 16:04:41 +02:00
|
|
|
}
|