<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class trainings extends Model { use SoftDeletes; protected $primaryKey = 'id'; protected $fillable = ['fireStationID', 'trainingName']; }