From 552c2d4460065f315c13f21b2917ce00daec474a Mon Sep 17 00:00:00 2001 From: shibafu Date: Sat, 16 May 2020 15:25:03 +0900 Subject: [PATCH] =?UTF-8?q?Tag=20->=20Metadata=20=E3=81=AE=E3=83=AA?= =?UTF-8?q?=E3=83=AC=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Tag.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Tag.php b/app/Tag.php index 479d972..df057f5 100644 --- a/app/Tag.php +++ b/app/Tag.php @@ -19,4 +19,9 @@ class Tag extends Model { return $this->belongsToMany('App\Ejaculation')->withTimestamps(); } + + public function metadata() + { + return $this->belongsToMany('App\Metadata')->withTimestamps(); + } }