Merge pull request #348 from shikorism/fix/tag-to-metadata-assoc
Tag -> Metadata のリレーション設定
This commit is contained in:
		@@ -19,4 +19,9 @@ class Tag extends Model
 | 
			
		||||
    {
 | 
			
		||||
        return $this->belongsToMany('App\Ejaculation')->withTimestamps();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function metadata()
 | 
			
		||||
    {
 | 
			
		||||
        return $this->belongsToMany('App\Metadata')->withTimestamps();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user