add(new Binary([ 'id', 'notification_id', 'user_id', 'environment_id' ])); } public function createRelations(Relations $relations) { $relations->belongsTo('environment', Environment::class); $relations->belongsTo('notification', Notification::class); $relations->belongsTo('user', User::class); } }