From ad922745c47fbb6da852b00a94fb321f6861971f Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 28 Jan 2026 20:22:11 +0100 Subject: [PATCH] Fix #11620 --- .../2026_01_28_201901_migrations_01_2026.php | 43 +++++++++++++++++++ mago.toml | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 database/migrations/2026_01_28_201901_migrations_01_2026.php diff --git a/database/migrations/2026_01_28_201901_migrations_01_2026.php b/database/migrations/2026_01_28_201901_migrations_01_2026.php new file mode 100644 index 0000000000..3ad8b19ddc --- /dev/null +++ b/database/migrations/2026_01_28_201901_migrations_01_2026.php @@ -0,0 +1,43 @@ +index(['transaction_journal_id','amount'],'idx_tx_journal_amount'); + } + ); + + Schema::table( + 'tag_transaction_journal', + static function (Blueprint $blueprint): void { + $blueprint->index(['transaction_journal_id','tag_id'],'idx_ttj_journal_tag'); + } + ); + Schema::table( + 'transaction_journals', + static function (Blueprint $blueprint): void { + $blueprint->index(['deleted_at'],'idx_tj_deleted'); + } + ); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // + } +}; diff --git a/mago.toml b/mago.toml index 5d415c9477..18ed0bf381 100644 --- a/mago.toml +++ b/mago.toml @@ -4,7 +4,7 @@ php-version = "8.4.0" [source] workspace = "." -paths = ["app/", "database/factories/", "database/seeders/", "tests/", "resources/lang/en_US"] +paths = ["app/", "database/factories/", "database/migrations/", "database/seeders/", "tests/", "resources/lang/en_US"] includes = ["vendor"] excludes = []