t('Checkcommand Envvar Command Id'), 'envvar_key' => t('Checkcommand Envvar Key'), 'environment_id' => t('Checkcommand Environment Id'), 'properties_checksum' => t('Checkcommand Properties Checksum'), 'envvar_value' => t('Checkcommand Envvar Value') ]; } public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); $relations->belongsTo('checkcommand', CheckCommand::class) ->setCandidateKey('command_id'); } }