Answers for "datetime-local laravel migration data type"

PHP
1

migrate command

golang migrate create

migrate create -ext sql -dir db/migration -seq init_schema
eg :migrate create -ext sql events
Posted by: Guest on December-10-2020
0

datetime-local laravel migration data type

public function getDateStartAttribute($value)
{
    return Carbon::parse($value)->format('Y-m-d\TH:i');
}

public function getDateEndAttribute($value)
{
    return Carbon::parse($value)->format('Y-m-d\TH:i');
}
Posted by: Guest on December-11-2020

Code answers related to "datetime-local laravel migration data type"

Browse Popular Code Answers by Language