change gallary to gallery

This commit is contained in:
Fateme
2020-04-12 14:07:26 +04:30
parent 91f954c9dd
commit 694525977e
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Gallery extends Model
{
protected $fillable = ['user_id', 'path'];
public $timestamps = false;
// public function business_item()
// {
// return $this->morphedByMany('App\BusinessItem', 'uploadable');
// }
}