MongoDB allows schema validation when creating a collection: db.createCollection
Laravel Eloquent migrations has a schema feature that is used to create SQL tables, and Collection indexes in the context of MongoDB.
This feature should be covered by the documentation, and helper methods should be added if necessary.
- related to
-
PHPORM-130 Document Laravel migration schema feature
-
- Backlog
-