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)
92
92
* @param string|array $columns
93
93
* @return bool
94
94
*/
95
- public function unique ($ columns = null )
95
+ public function unique ($ columns = null , $ name = null )
96
96
{
97
97
$ columns = $ this ->fluent ($ columns );
98
98
$ this ->index ($ columns , array ('unique ' => true ));
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testMultipleConnections()
52
52
53
53
# Add fake host
54
54
$ 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 ' );
56
56
57
57
$ connection = new Connection ($ db );
58
58
$ mongoclient = $ connection ->getMongoClient ();
You can’t perform that action at this time.
0 commit comments