Add indexes to myaac_account_actions table

This commit is contained in:
slawkens
2026-04-12 14:13:13 +02:00
parent e7198aeb23
commit 9e0e2601d2
3 changed files with 17 additions and 2 deletions

13
system/migrations/52.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
/**
* 2026-04-12
* Add indexes to myaac_account_actions table
*/
$up = function () use ($db) {
$db->query("CREATE INDEX `myaac_account_actions_account_id` ON `myaac_account_actions` (`account_id`);");
$db->query("CREATE INDEX `myaac_account_actions_ip` ON `myaac_account_actions` (`ip`);");
};
$down = function () {
// nothing to do, to not lose data
};