private function appendSoftDelete(&$input) { if (in_array('deleted_at', array_keys($input))) { $input['fields'][] = ['name' => 'deleted_at', 'type' => 'timestamp', 'nullable' => true, 'displayForm' => false]; unset($input['deleted_at']); } }