Lines Matching refs:id

111                             ->where('user_gedcom_setting.user_id', '=', Auth::id())
143 * @param int $id
147 public function find(int $id): Tree argument
149 $tree = $this->all()->first(static fn (Tree $tree): bool => $tree->id() === $id);
155 throw new DomainException('Call to find() with an invalid id: ' . $id);
210 $tree->setPreference('CONTACT_USER_ID', (string) Auth::id());
211 $tree->setPreference('WEBMASTER_USER_ID', (string) Auth::id());
250 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
263 'gedcom_id' => $tree->id(),
272 'gedcom_id' => $tree->id(),
289 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
290 DB::table('individuals')->where('i_file', '=', $tree->id())->delete();
291 DB::table('families')->where('f_file', '=', $tree->id())->delete();
292 DB::table('sources')->where('s_file', '=', $tree->id())->delete();
293 DB::table('other')->where('o_file', '=', $tree->id())->delete();
294 DB::table('places')->where('p_file', '=', $tree->id())->delete();
295 DB::table('placelinks')->where('pl_file', '=', $tree->id())->delete();
296 DB::table('name')->where('n_file', '=', $tree->id())->delete();
297 DB::table('dates')->where('d_file', '=', $tree->id())->delete();
298 DB::table('change')->where('gedcom_id', '=', $tree->id())->delete();
299 DB::table('link')->where('l_file', '=', $tree->id())->delete();
300 DB::table('media_file')->where('m_file', '=', $tree->id())->delete();
301 DB::table('media')->where('m_file', '=', $tree->id())->delete();
304 ->where('gedcom_id', '=', $tree->id())
306 DB::table('block')->where('gedcom_id', '=', $tree->id())->delete();
307 DB::table('user_gedcom_setting')->where('gedcom_id', '=', $tree->id())->delete();
308 DB::table('gedcom_setting')->where('gedcom_id', '=', $tree->id())->delete();
309 DB::table('module_privacy')->where('gedcom_id', '=', $tree->id())->delete();
310 DB::table('hit_counter')->where('gedcom_id', '=', $tree->id())->delete();
311 DB::table('default_resn')->where('gedcom_id', '=', $tree->id())->delete();
312 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete();
313 DB::table('log')->where('gedcom_id', '=', $tree->id())->delete();
314 DB::table('gedcom')->where('gedcom_id', '=', $tree->id())->delete();