diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 06c2fec7..f4fe7477 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -39,7 +39,7 @@ jobs:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
env:
- DB_DATABASE: db_test
+ DB_DATABASE: testbench
DB_USERNAME: root
DB_PASSWORD: root
steps:
diff --git a/config/system.php b/config/system.php
index d50e5c01..a0951233 100644
--- a/config/system.php
+++ b/config/system.php
@@ -141,7 +141,7 @@
|
*/
- 'urlPolicy' => env('IGNITER_URL_POLICY', 'detect'),
+ 'urlPolicy' => env('IGNITER_URL_POLICY', 'force'),
/*
|--------------------------------------------------------------------------
diff --git a/database/migrations/admin/2025_11_15_165912_add_indexes.php b/database/migrations/admin/2025_11_15_165912_add_indexes.php
new file mode 100644
index 00000000..5f5433b8
--- /dev/null
+++ b/database/migrations/admin/2025_11_15_165912_add_indexes.php
@@ -0,0 +1,24 @@
+index(['object_type', 'object_id', 'created_at'], 'idx_status_history_object_created');
+ $table->index(['object_type', 'object_id', 'status_history_id'], 'idx_status_history_object_status');
+ });
+ }
+
+ public function down(): void
+ {
+ Schema::table('status_history', function(Blueprint $table) {
+ $table->dropIndex('idx_status_history_object_created');
+ $table->dropIndex('idx_status_history_object_status');
+ });
+ }
+};
diff --git a/database/migrations/system/2025_03_29_164243_remove_deprecated_code_from_mail_layouts.php b/database/migrations/system/2025_03_29_164243_remove_deprecated_code_from_mail_layouts.php
index e5cbb1a9..fe64cb31 100644
--- a/database/migrations/system/2025_03_29_164243_remove_deprecated_code_from_mail_layouts.php
+++ b/database/migrations/system/2025_03_29_164243_remove_deprecated_code_from_mail_layouts.php
@@ -1,6 +1,7 @@
index(['attachment_type', 'attachment_id', 'priority'], 'idx_media_attachments_type_id_priority');
+ });
+
+ Schema::table('languages', function(Blueprint $table) {
+ $table->index(['status', 'is_default'], 'idx_languages_status_default');
+ });
+
+ Schema::table('countries', function(Blueprint $table) {
+ $table->index(['status', 'is_default'], 'idx_countries_status_default');
+ });
+
+ Schema::table('currencies', function(Blueprint $table) {
+ $table->index(['currency_status', 'is_default'], 'idx_currencies_status_default');
+ });
+ }
+
+ public function down(): void
+ {
+ Schema::table('media_attachments', function(Blueprint $table) {
+ $table->dropIndex('idx_media_attachments_type_id_priority');
+ });
+
+ Schema::table('languages', function(Blueprint $table) {
+ $table->dropIndex('idx_languages_status_default');
+ });
+
+ Schema::table('countries', function(Blueprint $table) {
+ $table->dropIndex('idx_countries_status_default');
+ });
+
+ Schema::table('currencies', function(Blueprint $table) {
+ $table->dropIndex('idx_currencies_status_default');
+ });
+ }
+};
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 677ece1b..dbcc65dd 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -21,8 +21,7 @@