kcal/database/Factories
Christopher Charbonneau Wells 1fbb9a7dae
Add support for meals customization (#15)
* Add meals as JSON field on User

* Change journal entry meal field to integer

* Make Quill and Draggable more modular

* Add meals routes and controller (WIP)

* Set default meals during migration

* Handle meals form

* No-op meal field migrations

This allows tests to pass easier and the migrations are not entirely
necessary anyway.

* Update factories and tests for new meals format

* Add basic meals edit test

* Update journal entry processing for new meal values

* Remove temporary migrations

* Only use default enabled meals in tests

* Add User `meals_enabled` attribute

* Ensure NULL values are removed from attributes

* Add meals data to use API response

* Set default meals on user create
2021-05-30 13:11:58 -07:00
..
FoodFactory.php Replace unecessary states in Food factory 2021-04-20 11:55:10 -07:00
GoalFactory.php Tweak factory and seeder for goal changes 2021-05-15 21:40:53 -07:00
IngredientAmountFactory.php Add User CRUD controller tests 2021-04-20 15:02:45 -07:00
JournalDateFactory.php Create JournalDate model for setting per-date goals 2021-05-15 21:40:53 -07:00
JournalEntryFactory.php Add support for meals customization (#15) 2021-05-30 13:11:58 -07:00
RecipeFactory.php Add support for recording recipe volume (WIP) 2021-04-17 20:31:52 -07:00
RecipeSeparatorFactory.php Finalize fake data improvements 2021-04-07 21:28:05 -07:00
RecipeStepFactory.php Finalize fake data improvements 2021-04-07 21:28:05 -07:00
TagFactory.php Re-add Seeders and Factories with correct case 2021-04-07 08:58:20 -07:00
UserFactory.php Add media to User Controller test instances 2021-04-21 08:53:41 -07:00