File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Jenssegers/Mongodb/Schema Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public function dropIndex($columns = null)
9292 * @param string|array $columns
9393 * @return bool
9494 */
95- public function unique ($ columns = null )
95+ public function unique ($ columns = null , $ name = null )
9696 {
9797 $ columns = $ this ->fluent ($ columns );
9898 $ this ->index ($ columns , array ('unique ' => true ));
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testMultipleConnections()
5252
5353 # Add fake host
5454 $ db = $ app ['config ' ]['database.connections ' ]['mongodb ' ];
55- $ db ['host ' ] = array ($ db ['host ' ], '0.0.0.0 ' );
55+ $ db ['host ' ] = array ($ db ['host ' ], '1.2.3.4 ' );
5656
5757 $ connection = new Connection ($ db );
5858 $ mongoclient = $ connection ->getMongoClient ();
You can’t perform that action at this time.
0 commit comments