DBPdo instead of DBMysqli

This commit is contained in:
xiaomlove
2026-04-13 03:12:04 +07:00
parent 9995767bf7
commit f271e28b15
7 changed files with 197 additions and 10 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ class NexusModel extends Model
protected $perPage = 50;
protected $connection = NexusDB::ELOQUENT_CONNECTION_NAME;
public function getConnectionName()
{
return NexusDB::getConnectionName();
}
protected function usernameForAdmin(): Attribute
{