Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

how to add "table exist" validation inside each migration? #139

Open ginzunza opened 7 years ago

ginzunza commented 7 years ago

I want to generate a pull request to, optionally, add "Schema::hasTable" validation. I'm not sure if I can add this condition before each "create->table" programmatically or if there exist another automatic way to do the same thing. Thanks in advance

brunoramonalmeida commented 5 years ago

It would be very good!!!