Closed Seafnox closed 8 years ago
A good idea, but the underlying db-migrate seeder functionality doesn't distinguish between seeds and migrations.
This feels like something that would be its own sails-db-seed
module. I don't have a need for one, so I don't think I'll write one anytime soon.
If you write one I will be glad to link to it from the sails-db-migrate
README.
Thanks for the feedback!
In addition to updating the table schema, you need to fill them with data. For this there must be a separate grunt task. In the task, you can specify the source file that will contain code to generate the data (by use modules which the developer wants)