Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel capsule schema datatime CURRENT_TIMESTAMP

$table->timestamp('created_at')->default('CURRENT_TIMESTAMP');
 
PREVIOUS NEXT
Tagged: #laravel #capsule #schema #datatime
ADD COMMENT
Topic
Name
7+6 =