我可以映射Laravel的时间戳:
created_at要post_date和post_date_gmt?
updated_at要post_modified和post_modified_gmt?
我正在将Wordpress应用程序迁移到Laravel.
我正在使用Laravel访问Wordpress数据库的副本.数据库的实时版本仍在使用中,因此我不想更改架构.
该帖子表有post_date,post_date_gmt,post_modified和post_modified_gmt,但Laravel期待created_at和updated_at.
反正有没有改变Laravel寻找的列名?
我希望Laravel更新已经存在的所有列的时间戳.