namespace App\Models; use Illuminate\Database\Eloquent\Model; class Epaper extends Model { protected $fillable = ['date', 'file_path']; } Schema::create('epapers', function (Blueprint $table) { $table->id(); $table->date('date'); $table->string('file_path', 255); $table->timestamps(); });