TIP 16 / 16

Method to Set the Default Value for Current Timestamp.

You can use useCurrent() method for your custom timestamp column to store the current timestamp as a default value.

code
Schema::create('posts', function (Blueprint $table) {
    $table->id();
    $table->string('title');
    $table->timestamp('added_at')->useCurrent();
    $table->timestamps();
});