Releases: bennett-treptow/laravel-migration-generator
Index Constraints: Restrict / No Action, Set Null, Set Default
Foreign key constraints with NO ACTION / RESTRICT, SET NULL, SET DEFAULT will correctly be parsed
Fix View Generation
View generation was not working because preg_match on the timestamp format option was causing issues.
Moving Stubs out of views
I originally didn't know what to do with the stubs and where they should get exported to -- since they're not blade templates, and they're not views, I decided to move them out into their own directory.
Config Options and Last Few MySQL Data Types Implemented
There are now a ton of config options for: naming of files, skippable tables per database, and where migrations will be output.
Simplified Interfaces! Definitions!
I simplified a bunch of the interfaces so that tokenization handles updating a column or index definition that is the standard Laravel column definition, instead of passing around a ton of parameters between classes.
Remove Display Width Parameters for Int Types
Laravel does not support display width parameters for integer types, like int(5). Removed all method parameters for those so they don't get added in the output.
Soft Deletes
Soft deletes will not be pulled out when a timestamp field has deleted_at
as its name.
Fix Null Column Name
Column names can in fact be nullable when the corresponding Blueprint schema method does not require any arguments.
Fix refactored code
Missed one instance of finalPass when refactoring
Stable Release Tag
Update composer to tell this version is stable