1golang migrate create
2
3migrate create -ext sql -dir db/migration -seq init_schema
4eg :migrate create -ext sql events
1public function getDateStartAttribute($value)
2{
3 return Carbon::parse($value)->format('Y-m-d\TH:i');
4}
5
6public function getDateEndAttribute($value)
7{
8 return Carbon::parse($value)->format('Y-m-d\TH:i');
9}
10