Answers for "laravel how to add timestamp to migration"

SQL
1

current time in laravel migration

$table->timestamp('column_name')->useCurrent();
Posted by: Guest on November-27-2020
1

created_at default value laravel

$table->timestamp('created_at')->useCurrent();
Posted by: Guest on October-09-2020

Code answers related to "laravel how to add timestamp to migration"

Code answers related to "SQL"

Browse Popular Code Answers by Language