di InstallSchema
->addColumn(
'created_at',
\Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
[],
'Creation Time'
)
->addColumn(
'updated_at',
\Magento\Framework\DB\Ddl\Table::TYPE_TIMESTAMP,
[],
'Update Time'
)
jadi bagaimana caranya updated_at
, create_at
otomatis menambah datetime ketika melakukan tindakan?