Skip to content

Commit

Permalink
Update create_xhprof_table.php.stub
Browse files Browse the repository at this point in the history
fixed #3
  • Loading branch information
Sairahcaz authored Oct 25, 2022
1 parent 08e1d80 commit b42e072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_xhprof_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CreateXHProfTable extends Migration
$table->char('id', 64);
$table->char('url', 255)->nullable();
$table->char('c_url', 255)->nullable();
$table->timestamp('timestamp')->default(DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'));
$table->timestamp('timestamp')->useCurrent()->useCurrentOnUpdate();
$table->char('server name', 64)->nullable();
$table->binary('perfdata')->nullable();
$table->tinyInteger('type')->nullable();
Expand Down

0 comments on commit b42e072

Please sign in to comment.