mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
e4f46c2a4e
* Default database connection - set defaults for engine and strict * Working on tests for refactored model * Fixes for tests, use polymorphic relationships for Invitations * skin the password reset pages
17 lines
218 B
PHP
17 lines
218 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Proposal extends Model
|
|
{
|
|
//
|
|
|
|
public function invitations()
|
|
{
|
|
$this->morphMany(Invitation::class, 'inviteable');
|
|
}
|
|
|
|
}
|