File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,14 @@ private function _sanitizeFlatFields($flatFields)
269
269
return $ fields ;
270
270
}
271
271
272
+ //----------------------------------------------------------------------
273
+ // Internal Laravel init migration catchers
274
+ // *Case for when ES is the only datasource
275
+ //----------------------------------------------------------------------
276
+ public function hasTable ($ table )
277
+ {
278
+ return $ this ->getIndex ($ table );
279
+ }
272
280
273
281
//----------------------------------------------------------------------
274
282
// Builders
Original file line number Diff line number Diff line change @@ -165,6 +165,23 @@ public function buildIndexModify(Connection $connection)
165
165
}
166
166
}
167
167
168
+
169
+ //----------------------------------------------------------------------
170
+ // Internal Laravel init migration catchers
171
+ // *Case for when ES is the only datasource
172
+ //----------------------------------------------------------------------
173
+
174
+ public function increments ($ column )
175
+ {
176
+ return $ this ->addField ('text ' , $ column );
177
+ }
178
+
179
+ public function string ($ column )
180
+ {
181
+ return $ this ->addField ('text ' , $ column );
182
+ }
183
+
184
+
168
185
//----------------------------------------------------------------------
169
186
// Helpers
170
187
//----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments