ALTER TABLE tablename ADD create_date timestamp DEFAULT current_timestamp(); 修改后添加数据项的时候create_date可以自动赋值为插入时间。