mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 16:37:31 -04:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			16 lines
		
	
	
		
			216 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			216 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Models;
 | |
| 
 | |
| use Illuminate\Database\Eloquent\Model;
 | |
| 
 | |
| class Invoice extends Model
 | |
| {
 | |
|     //
 | |
| 
 | |
|     public function invitations()
 | |
|     {
 | |
|         $this->morphMany(Invitation::class, 'inviteable');
 | |
|     }
 | |
| }
 |