mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
New migration: update menu links
This commit is contained in:
parent
8f23c62708
commit
bbe922a65d
@ -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'));
|
||||
|
@ -1,4 +1,4 @@
|
||||
SET @myaac_database_version = 39;
|
||||
SET @myaac_database_version = 40;
|
||||
|
||||
CREATE TABLE `myaac_account_actions`
|
||||
(
|
||||
|
11
system/migrations/40.php
Normal file
11
system/migrations/40.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
// 2024-02-03
|
||||
// update pages links
|
||||
|
||||
use MyAAC\Models\Menu;
|
||||
|
||||
Menu::where('link', 'lastkills')->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']);
|
Loading…
x
Reference in New Issue
Block a user