Skip to content

Commit

Permalink
Fix for deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
LauJosefsen committed Mar 14, 2024
1 parent 3985909 commit fa5ffac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@
}
],
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-json": "*",
"ext-mbstring": "*",
"nesbot/carbon": "^2.17",
"illuminate/http": "^10.0",
"illuminate/support": "^10.0",
"cego/elastic-apm-wrapper": "^1.0"
"ext-mbstring": "*",
"nesbot/carbon": "^2.17|^3.0",
"illuminate/http": "^11.0",
"illuminate/support": "^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"doctrine/dbal": "^3.3",
"cego/php-cs-fixer": "^1.0"
"orchestra/testbench": "^9.0",
"doctrine/dbal": "^4.3",
"cego/php-cs-fixer": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function up()
$table->mediumText('response_headers');
$table->mediumText('response_body');
$table->mediumText('response_exception');
$table->unsignedDecimal('execution_time', 20, 10);
$table->decimal('execution_time', 20, 10)->unsigned();
$table->timestamps();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function down()
$table->mediumText('response_headers');
$table->mediumText('response_body');
$table->mediumText('response_exception');
$table->unsignedDecimal('execution_time', 20, 10);
$table->decimal('execution_time', 20, 10)->unsigned();
$table->timestamps();
$table->index('created_at');
$table->index('status');
Expand Down

0 comments on commit fa5ffac

Please sign in to comment.