Schema::create('subject', function (Blueprint $table) {
$table->id();
$table->string('subject_name',100)->nullable();
$table->softDeletes();
$table->timestamps();
});
class QuestionMaster extends Model
{
use HasFactory;
protected $table = 'question_master';
protected $fillable = [
'subject',
'unit',
'topic',
'level',
'tag',
'sub_tag',
];
protected $primaryKey = 'id';
use SoftDeletes;
}
Discover more from Soa Technology | Aditya Website Development Designing Company
Subscribe to get the latest posts sent to your email.