- Renamed models, migration files, and database tables for greater consistency (e.g., `service_protocols` to `connection_protocols`, `service_providers` to `connection_providers`). - Enabled `SoftDeletes` trait on core models, including `User`, `ConnectionProvider`, `ConnectedApp`, and others. - Updated migration schemas to include `softDeletes()` and adjusted `down()` methods accordingly. - Enhanced indexing in `connected_apps` to optimize query performance.
15 lines
257 B
PHP
15 lines
257 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Attributes\Table;
|
|
use Illuminate\Database\Eloquent\{Model, SoftDeletes};
|
|
|
|
#[Table('connection_statuses')]
|
|
class ConnectionStatus extends Model
|
|
{
|
|
use SoftDeletes;
|
|
}
|