Skip to content

Releases: bennett-treptow/laravel-migration-generator

Index Constraints: Restrict / No Action, Set Null, Set Default

12 Apr 00:35
Compare
Choose a tag to compare

Foreign key constraints with NO ACTION / RESTRICT, SET NULL, SET DEFAULT will correctly be parsed

Fix View Generation

12 Apr 00:18
Compare
Choose a tag to compare

View generation was not working because preg_match on the timestamp format option was causing issues.

Moving Stubs out of views

11 Apr 23:31
Compare
Choose a tag to compare

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

11 Apr 20:46
2124d0d
Compare
Choose a tag to compare

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!

10 Apr 22:19
Compare
Choose a tag to compare

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

10 Apr 01:10
Compare
Choose a tag to compare

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

10 Apr 00:55
Compare
Choose a tag to compare

Soft deletes will not be pulled out when a timestamp field has deleted_at as its name.

Fix Null Column Name

10 Apr 00:19
Compare
Choose a tag to compare

Column names can in fact be nullable when the corresponding Blueprint schema method does not require any arguments.

Fix refactored code

10 Apr 00:11
Compare
Choose a tag to compare

Missed one instance of finalPass when refactoring

Stable Release Tag

10 Apr 00:05
Compare
Choose a tag to compare

Update composer to tell this version is stable