diff options
Diffstat (limited to 'app/Schema/Migration21.php')
| -rw-r--r-- | app/Schema/Migration21.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/Schema/Migration21.php b/app/Schema/Migration21.php index 3294238383..9e27f97be6 100644 --- a/app/Schema/Migration21.php +++ b/app/Schema/Migration21.php @@ -1,6 +1,4 @@ <?php -namespace Fisharebest\Webtrees\Schema; - /** * webtrees: online genealogy * Copyright (C) 2015 webtrees development team @@ -15,13 +13,17 @@ namespace Fisharebest\Webtrees\Schema; * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +namespace Fisharebest\Webtrees\Schema; + use Fisharebest\Webtrees\Database; /** - * Class Migration21 - upgrade the database schema from version 21 to version 22. + * Upgrade the database schema from version 21 to version 22. */ class Migration21 implements MigrationInterface { - /** {@inheritDoc} */ + /** + * Upgrade to to the next version + */ public function upgrade() { // Data fix for bug #1072477 Database::exec("UPDATE `##default_resn` SET xref = NULL WHERE xref = ''"); |
