diff --git a/src/Jenssegers/Mongodb/Schema/Blueprint.php b/src/Jenssegers/Mongodb/Schema/Blueprint.php index 0c01c96aa..a6ae1bc53 100644 --- a/src/Jenssegers/Mongodb/Schema/Blueprint.php +++ b/src/Jenssegers/Mongodb/Schema/Blueprint.php @@ -188,14 +188,14 @@ public function expire($columns, $seconds) /** * @inheritdoc */ - public function create() + public function create($options = []) { $collection = $this->collection->getCollectionName(); $db = $this->connection->getMongoDB(); // Ensure the collection is created. - $db->createCollection($collection); + $db->createCollection($collection, $options); } /**