recreate project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class UserNotificationModel extends Model
|
||||
{
|
||||
protected $table = 'user_notifications';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $allowedFields = [
|
||||
'notification_id',
|
||||
'user_id',
|
||||
'is_read',
|
||||
'delivered',
|
||||
'delivered_at'
|
||||
];
|
||||
|
||||
protected $useTimestamps = false;
|
||||
}
|
||||
Reference in New Issue
Block a user