1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00
phorge-phorge/resources/sql/patches/20130611.migrateoauth.php

15 lines
475 B
PHP
Raw Normal View History

<?php
$table = new PhabricatorUser();
$conn = $table->establishConnection('w');
$table_name = 'user_oauthinfo';
foreach (new LiskRawMigrationIterator($conn, $table_name) as $row) {
throw new Exception(
pht(
'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.'));
}