laravel add timestamps to existing table Programing Coderfunda February 23, 2022 Laravel, php No comments laravel add timestamps to existing table11$table->dateTime('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));2$table->dateTime('updated_at')->nullable();3Source: stackoverflow.com Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment
Thanks