Skip to content

Commit

Permalink
internal(modifier): include action column in model
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Aug 16, 2023
1 parent c9a21e5 commit 0f2ccae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Models/ModifierModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class ModifierModel extends BaseResourceModel
"credit_account_id",
"name",
"description",
"action",
"kind",
"deleted_at"
];
Expand All @@ -25,6 +26,7 @@ public function fake(Generator &$faker)
return [
"name" => $faker->unique()->firstName(),
"description" => $faker->paragraph(),
"action" => $faker->randomElement(ACCEPTABLE_MODIFIER_ACTIONS),
"kind" => $faker->randomElement(ACCEPTABLE_MODIFIER_KINDS),
];
}
Expand Down

0 comments on commit 0f2ccae

Please sign in to comment.