mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-23 10:53:32 +02:00
Add indexes to myaac_account_actions table
This commit is contained in:
13
system/migrations/52.php
Normal file
13
system/migrations/52.php
Normal 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
|
||||
};
|
||||
Reference in New Issue
Block a user