allowed mimetypes from database

This commit is contained in:
Arno Kaimbacher 2019-04-02 18:03:29 +02:00
parent 2f930457d1
commit 415016a4c2
9 changed files with 128 additions and 202 deletions

16
app/Models/MimeType.php Normal file
View 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',
];
}