schema defaults

Text

No description

Guest

Download Edit

$t->timestamp('updated_at')
->default(DB::raw('CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP'));