diff options
Diffstat (limited to 'app/Schema/Migration16.php')
| -rw-r--r-- | app/Schema/Migration16.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/Schema/Migration16.php b/app/Schema/Migration16.php index 148914fea2..63a0c9a7c1 100644 --- a/app/Schema/Migration16.php +++ b/app/Schema/Migration16.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 Migration16 - upgrade the database schema from version 16 to version 17. + * Upgrade the database schema from version 16 to version 17. */ class Migration16 implements MigrationInterface { - /** {@inheritDoc} */ + /** + * Upgrade to to the next version + */ public function upgrade() { // Add a "default" user, to store default settings Database::exec("INSERT IGNORE INTO `##user` (user_id, user_name, real_name, email, password) VALUES (-1, 'DEFAULT_USER', 'DEFAULT_USER', 'DEFAULT_USER', 'DEFAULT_USER')"); |
