In yii2 migration file i had create two columns
'updated_at' => $this->integer()->defaultValue('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP'),
'created_at' => $this->integer()->defaultValue('CURRENT_TIMESTAMP')
But this is working in MYSQL, and it will not working in PostgreSQL?
How to create column with updating timestamp
column when I update the row, and set default timestamp
when I create the row.