Execute highscores_ids_hidden migration again, cause of settings

This commit is contained in:
slawkens 2023-11-11 14:29:49 +01:00
parent c79a1d5f3a
commit d0590d2747
3 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (version_compare(phpversion(), '8.0', '<')) die('PHP version 8.0 or higher is
const MYAAC = true;
const MYAAC_VERSION = '1.0-dev';
const DATABASE_VERSION = 37;
const DATABASE_VERSION = 38;
const TABLE_PREFIX = 'myaac_';
define('START_TIME', microtime(true));
define('MYAAC_OS', stripos(PHP_OS, 'WIN') === 0 ? 'WINDOWS' : (strtoupper(PHP_OS) === 'DARWIN' ? 'MAC' : 'LINUX'));

View File

@ -1,5 +1,7 @@
<?php
require_once LIBS . 'Settings.php';
$query = $db->query("SELECT `id` FROM `players` WHERE (`name` = " . $db->quote("Rook Sample") . " OR `name` = " . $db->quote("Sorcerer Sample") . " OR `name` = " . $db->quote("Druid Sample") . " OR `name` = " . $db->quote("Paladin Sample") . " OR `name` = " . $db->quote("Knight Sample") . " OR `name` = " . $db->quote("Account Manager") . ") ORDER BY `id`;");
$highscores_ignored_ids = array();

5
system/migrations/38.php Normal file
View File

@ -0,0 +1,5 @@
<?php
// 2023-11-11
// execute highscores_ids_hidden once again, cause of settings
require __DIR__ . '/20.php';