refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
19
database/factories/JournalFactory.php
Normal file
19
database/factories/JournalFactory.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
$factory->define(App\Models\Journal\Entry::class, function (Faker\Generator $faker) {
|
||||
return [
|
||||
'account_id' => factory(App\Models\Account\Account::class)->create()->id,
|
||||
];
|
||||
});
|
||||
|
||||
$factory->define(App\Models\Journal\Day::class, function (Faker\Generator $faker) {
|
||||
return [
|
||||
'account_id' => factory(App\Models\Account\Account::class)->create()->id,
|
||||
];
|
||||
});
|
||||
|
||||
$factory->define(App\Models\Journal\JournalEntry::class, function (Faker\Generator $faker) {
|
||||
return [
|
||||
'account_id' => factory(App\Models\Account\Account::class)->create()->id,
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user