mentors

mentors Git Source Tree


Root/app/models/Project.php

<?php 

use Illuminate\Database\Eloquent\SoftDeletingTrait;

/**
* This class manages projects for use by the mentors and mentees
*/
class Project extends Eloquent
{
	protected $table = 'projects';

	protected $softDelete = true;

	protected $dates = ['deleted_at'];

	protected $fillable = array('title', 'link', 'language', 'user_id');

}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.10648s using 11 queries.