xref: /webtrees/app/Schema/Migration30.php (revision 3976b4703df669696105ed6b024b96d433c8fbdb)
11507cbcaSGreg Roach<?php
2*3976b470SGreg Roach
31507cbcaSGreg Roach/**
41507cbcaSGreg Roach * webtrees: online genealogy
58fcd0d32SGreg Roach * Copyright (C) 2019 webtrees development team
61507cbcaSGreg Roach * This program is free software: you can redistribute it and/or modify
71507cbcaSGreg Roach * it under the terms of the GNU General Public License as published by
81507cbcaSGreg Roach * the Free Software Foundation, either version 3 of the License, or
91507cbcaSGreg Roach * (at your option) any later version.
101507cbcaSGreg Roach * This program is distributed in the hope that it will be useful,
111507cbcaSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
121507cbcaSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
131507cbcaSGreg Roach * GNU General Public License for more details.
141507cbcaSGreg Roach * You should have received a copy of the GNU General Public License
151507cbcaSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
161507cbcaSGreg Roach */
17e7f56f2aSGreg Roachdeclare(strict_types=1);
18e7f56f2aSGreg Roach
191507cbcaSGreg Roachnamespace Fisharebest\Webtrees\Schema;
201507cbcaSGreg Roach
211507cbcaSGreg Roach/**
22c9beb871SGreg Roach * Upgrade the database schema from version 30 to version 31 (webtrees 1.7.0).
231507cbcaSGreg Roach */
24c1010edaSGreg Roachclass Migration30 implements MigrationInterface
25c1010edaSGreg Roach{
261507cbcaSGreg Roach    /**
271507cbcaSGreg Roach     * Upgrade to to the next version
2819d91378SGreg Roach     *
2919d91378SGreg Roach     * @return void
301507cbcaSGreg 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.
351507cbcaSGreg Roach    }
361507cbcaSGreg Roach}
37