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)
269269 return $ fields ;
270270 }
271271
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+ }
272280
273281 //----------------------------------------------------------------------
274282 // Builders
Original file line number Diff line number Diff line change @@ -165,6 +165,23 @@ public function buildIndexModify(Connection $connection)
165165 }
166166 }
167167
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+
168185 //----------------------------------------------------------------------
169186 // Helpers
170187 //----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments