Check out example codes for "mysql timestamp in laravel migration". It will help you in understanding the concepts better.

Code Example 1

$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));

Learn ReactJs, React Native from akashmittal.com