[FS-101] Add support for seeding the database

Issue #3 new
Leo Neto created an issue

Still not sure what this would entail. But thinking of something like mockaroo or faker. Seed database based on the specified datatypes for each field. May need to do something similar to how model attributes are parsed so that all supported types benefit from the implementation somewhat automatically.

Some ideas on how this could be invoked:

D run seed:app_name?: this approach would check for all models under the current app directory and parse all fields.

D run seed:app_name? model_name?: this approach would load a single model and parse its fields.

Comments (4)

  1. Log in to comment