Go to the documentation of this file. 10 public function up() {
11 $this->table(
'geocode_cache')->drop()->save();
18 $table = $this->table(
"geocode_cache", [
20 'encoding' =>
"utf8mb4",
21 'collation' =>
"utf8mb4_general_ci",
24 $table->addColumn(
'location',
'string', [
29 $table->addColumn(
'lat',
'string', [
34 $table->addColumn(
'long',
'string', [
39 $table->addIndex([
'location'], [