Migrations are helpful once there is thousands of documents in any table. For a job like "delete all documents before date x", it's nice to be able to configure this when running the migration, instead of hardcoding x into the migration code.
Should be trivial to implement, and validators could be used to check the argument shape.
Migrations are helpful once there is thousands of documents in any table. For a job like "delete all documents before date x", it's nice to be able to configure this when running the migration, instead of hardcoding
xinto the migration code.Should be trivial to implement, and validators could be used to check the argument shape.