private function appendTimestamps(&$input)
{
if (in_array('timestamps', array_keys($input))) {
$timestampsArr = ['created_at', 'updated_at'];
foreach ($timestampsArr as $timestamp) {
$input['fields'][] = ['name' => $timestamp, 'type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'displayForm' => false];
}
unset($input['timestamps']);
}
}