mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-16 02:12:54 -05:00
v5.0.0 update
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Database\Factories;
|
||||
|
||||
use Crater\Models\Note;
|
||||
use Crater\Models\User;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class NoteFactory extends Factory
|
||||
@@ -25,6 +26,7 @@ class NoteFactory extends Factory
|
||||
'type' => $this->faker->randomElement(['Invoice', 'Estimate', 'Payment']),
|
||||
'name' => $this->faker->word,
|
||||
'notes' => $this->faker->text,
|
||||
'company_id' => User::find(1)->companies()->first()->id,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user