mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Set StaticModel connection to mysql
This commit is contained in:
parent
370d267678
commit
44620ae67b
@ -33,9 +33,11 @@ use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFoundExceptio
|
|||||||
*/
|
*/
|
||||||
class StaticModel extends Model
|
class StaticModel extends Model
|
||||||
{
|
{
|
||||||
|
protected $connection = 'mysql';
|
||||||
|
|
||||||
use MakesHash;
|
use MakesHash;
|
||||||
use Excludable;
|
use Excludable;
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'updated_at' => 'timestamp',
|
'updated_at' => 'timestamp',
|
||||||
'created_at' => 'timestamp',
|
'created_at' => 'timestamp',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user