recreate project
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class ScoreCommentModel extends Model
|
||||
{
|
||||
protected $table = 'score_comments';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $allowedFields = [
|
||||
'student_id',
|
||||
'class_section_id',
|
||||
'score_type',
|
||||
'semester',
|
||||
'school_year',
|
||||
'comment',
|
||||
'comment_review',
|
||||
'reviewed_by',
|
||||
'commented_by',
|
||||
'created_at'
|
||||
];
|
||||
|
||||
public $timestamps = false; // because we're using MySQL's default timestamp
|
||||
}
|
||||
Reference in New Issue
Block a user