タグ登録機能の追加
This commit is contained in:
1 parent
d7b16cd6d5
commit
b1dcc36565
7 files changed
+96
-12
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Tag extends Model
|
||||
{
|
||||
//
|
||||
|
||||
protected $fillable = [
|
||||
'name'
|
||||
];
|
||||
|
||||
public function ejaculations()
|
||||
{
|
||||
return $this->belongsToMany('App\Ejaculation')->withTimestamps();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user