How to add timestamp to the existing mysql table <p>I am updatng my application from standard php into laravel and i am creating two new field in each of my table which is created_at and updated_at.</p> <p>The problem is both field has being set as null for the existing data. How to make a query to set the created_at and updated_at to the current date time??</p>