diff --git a/common.php b/common.php index f64c5aee..5a19fdb3 100644 --- a/common.php +++ b/common.php @@ -27,7 +27,7 @@ if (version_compare(phpversion(), '8.1', '<')) die('PHP version 8.1 or higher is const MYAAC = true; const MYAAC_VERSION = '1.0-beta'; -const DATABASE_VERSION = 39; +const DATABASE_VERSION = 40; const TABLE_PREFIX = 'myaac_'; define('START_TIME', microtime(true)); define('MYAAC_OS', stripos(PHP_OS, 'WIN') === 0 ? 'WINDOWS' : (strtoupper(PHP_OS) === 'DARWIN' ? 'MAC' : 'LINUX')); diff --git a/install/includes/schema.sql b/install/includes/schema.sql index ffbdf8d1..46347707 100644 --- a/install/includes/schema.sql +++ b/install/includes/schema.sql @@ -1,4 +1,4 @@ -SET @myaac_database_version = 39; +SET @myaac_database_version = 40; CREATE TABLE `myaac_account_actions` ( diff --git a/system/migrations/40.php b/system/migrations/40.php new file mode 100644 index 00000000..3287a6d0 --- /dev/null +++ b/system/migrations/40.php @@ -0,0 +1,11 @@ +update(['link' => 'last-kills']); +Menu::where('link', 'serverInfo')->update(['link' => 'server-info']); +Menu::where('link', 'experienceStages')->update(['link' => 'exp-stages']); +Menu::where('link', 'experienceTable')->update(['link' => 'exp-table']);