allowed mimetypes from database
This commit is contained in:
parent
2f930457d1
commit
415016a4c2
9 changed files with 128 additions and 202 deletions
16
app/Models/MimeType.php
Normal file
16
app/Models/MimeType.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MimeType extends Model
|
||||
{
|
||||
|
||||
protected $table = 'mime_types';
|
||||
|
||||
// for using $input = $request->all();
|
||||
//$project = Project::create($input);
|
||||
protected $fillable = [
|
||||
'name', 'file_extension', 'enabled',
|
||||
];
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue