13bfb94b0SGreg Roach<?php 2*3976b470SGreg Roach 33bfb94b0SGreg Roach/** 43bfb94b0SGreg Roach * webtrees: online genealogy 58fcd0d32SGreg Roach * Copyright (C) 2019 webtrees development team 63bfb94b0SGreg Roach * This program is free software: you can redistribute it and/or modify 73bfb94b0SGreg Roach * it under the terms of the GNU General Public License as published by 83bfb94b0SGreg Roach * the Free Software Foundation, either version 3 of the License, or 93bfb94b0SGreg Roach * (at your option) any later version. 103bfb94b0SGreg Roach * This program is distributed in the hope that it will be useful, 113bfb94b0SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 123bfb94b0SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 133bfb94b0SGreg Roach * GNU General Public License for more details. 143bfb94b0SGreg Roach * You should have received a copy of the GNU General Public License 153bfb94b0SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 163bfb94b0SGreg Roach */ 17e7f56f2aSGreg Roachdeclare(strict_types=1); 18e7f56f2aSGreg Roach 1976692c8bSGreg Roachnamespace Fisharebest\Webtrees\Schema; 2076692c8bSGreg Roach 213bfb94b0SGreg Roach/** 22c9beb871SGreg Roach * Upgrade the database schema from version 22 to version 23 (webtrees 1.4.0). 233bfb94b0SGreg Roach */ 24c1010edaSGreg Roachclass Migration22 implements MigrationInterface 25c1010edaSGreg Roach{ 2676692c8bSGreg Roach /** 27362be83aSGreg Roach * Upgrade to to the next version. 2819d91378SGreg Roach * 2919d91378SGreg Roach * @return void 3076692c8bSGreg Roach */ 31362be83aSGreg Roach public function upgrade(): void 32c1010edaSGreg Roach { 33c9beb871SGreg Roach // These migrations have been merged into migration 0. 34c9beb871SGreg Roach // Direct upgrade from webtrees < 1.7.9 is not supported. 353bfb94b0SGreg Roach } 363bfb94b0SGreg Roach} 37