File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 17
17
</testsuite >
18
18
</testsuites >
19
19
<php >
20
- <env name =" MONGODB_URI" value =" mongodb://mongodb /?directConnection=true" />
20
+ <env name =" MONGODB_URI" value =" mongodb://127.0.0.1 /?directConnection=true" />
21
21
<env name =" MONGODB_DATABASE" value =" unittest" />
22
22
<env name =" SQLITE_DATABASE" value =" :memory:" />
23
23
<env name =" QUEUE_CONNECTION" value =" database" />
Original file line number Diff line number Diff line change @@ -158,10 +158,7 @@ public function getTables($schema = null)
158
158
}
159
159
160
160
// Skip views it doesnt suport aggregate
161
- $ isView = $ collectionInfo ->getType () === 'view ' ;
162
- $ stats = null ;
163
-
164
- if ($ isView ) {
161
+ if ($ collectionInfo ->getType () === 'view ' ) {
165
162
continue ;
166
163
}
167
164
@@ -200,11 +197,8 @@ public function getViews($schema = null)
200
197
continue ;
201
198
}
202
199
203
- // Skip views it doesnt suport aggregate
204
- $ isNotView = $ collectionInfo ->getType () !== 'view ' ;
205
- $ stats = null ;
206
-
207
- if ($ isNotView ) {
200
+ // Skip normal type collection
201
+ if ($ collectionInfo ->getType () !== 'view ' ) {
208
202
continue ;
209
203
}
210
204
You can’t perform that action at this time.
0 commit comments