Laravel Capsule Schema Datatime Current Timestamp

[Solved] Laravel Capsule Schema Datatime Current Timestamp | Php - Code Explorer | yomemimo.com
Question : laravel capsule schema datatime CURRENT_TIMESTAMP

Answered by : akbarali

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

Source : | Last Update : Sun, 09 Jan 22

Answers related to laravel capsule schema datatime current timestamp

Code Explorer Popular Question For Php