protected function getRecordExtras()
 {
     $systemServiceId = Service::whereType('system')->value('id');
     return ['service_id' => $systemServiceId];
 }
Beispiel #2
0
 /**
  * @return integer|null
  */
 private function getDefaultStorageServiceId()
 {
     /** @type BaseModel $model */
     $model = Service::whereType('local_file')->first();
     $storageServiceId = $model ? $model->{Service::getPrimaryKeyStatic()} : null;
     return $storageServiceId;
 }
 protected function getRecordExtras()
 {
     $systemServiceId = Service::whereType('system')->value('id');
     return ['service_id' => $systemServiceId, 'table' => 'sql_db_config'];
 }