1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Set StaticModel connection to mysql

This commit is contained in:
Jason Beggs 2023-12-19 10:52:48 -05:00
parent 370d267678
commit 44620ae67b

View File

@ -33,9 +33,11 @@ use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundExceptio
*/
class StaticModel extends Model
{
protected $connection = 'mysql';
use MakesHash;
use Excludable;
protected $casts = [
'updated_at' => 'timestamp',
'created_at' => 'timestamp',