beckenrode / mysql-workbench-export-laravel-5-migrations

A MySQL Workbench plugin which exports a Model to Laravel 5 Migrations
MIT License
898 stars 236 forks source link

Files names not matching file content #55

Closed wwwillis closed 6 years ago

wwwillis commented 6 years ago

I have just installed the plugin into MySQL WorkBench 6.3 ce and when I try do an export it will export the objects but the filenames will not be match the object inside the file. So TableA's migration will be called 2017_11_30_000012_create_TableB_table.php and TableC's migration might be called 2017_11_30_000012_create_TableF_table.php

tianxingxia-cn commented 6 years ago

I have same confusion

Florent23 commented 6 years ago

Hello,

I have the same problem

class CreateLocaBonSortieProduitsTable for the file 2018_01_18_000041_create_loca_devis_avis_table

ishigami commented 6 years ago

Hi all.

For me, when it happens. I close Workbench and open again. Then export the migrations without error.

yutarux commented 6 years ago

@ishigami

Hi Ishigami. I fixed and pushed it. Please checkout my branch and try it.

ishigami commented 6 years ago

Hi @yutarux I'll check it. Tks a lot.

beckenrode commented 6 years ago

Fixed by @yutarux in #58

Thank you!