babenkoivan / elastic-migrations

Elasticsearch migrations for Laravel
MIT License
187 stars 32 forks source link

MIgration has hard coded table name #7

Closed benperiton closed 4 years ago

benperiton commented 4 years ago
Software Version
PHP 7.4.3
Elasticsearch 7.6.1
Laravel 7.20

Describe the bug The 'table' config option is not used in the migration file, so changing this value always results in "Migration table is not yet created"

To Reproduce Change the 'table' config option to something other than elastic_migrations, run artisan migrate then run elastic:migrate

Current behavior Results in "Migration table is not yet created"

Expected behavior It should not return an error

babenkoivan commented 4 years ago

Hi @benperiton, thank you for reporting the bug!

It is fixed in v1.2.1 🎉