<?php

namespace App\Core\Database\Models;

use CodeIgniter\Model;

class DatabaseConnectionModel extends Model
{
    protected $table = 'core_database_connections';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useTimestamps = true;
    protected $allowedFields = [
        'name',
        'driver',
        'host',
        'port',
        'database_name',
        'username',
        'encrypted_password',
        'charset',
        'status',
    ];
}
