We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e1d80 commit b42e072Copy full SHA for b42e072
database/migrations/create_xhprof_table.php.stub
@@ -18,7 +18,7 @@ class CreateXHProfTable extends Migration
18
$table->char('id', 64);
19
$table->char('url', 255)->nullable();
20
$table->char('c_url', 255)->nullable();
21
- $table->timestamp('timestamp')->default(DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'));
+ $table->timestamp('timestamp')->useCurrent()->useCurrentOnUpdate();
22
$table->char('server name', 64)->nullable();
23
$table->binary('perfdata')->nullable();
24
$table->tinyInteger('type')->nullable();
0 commit comments