Skip to content

2.1.0

Compare
Choose a tag to compare
@ahmedesa ahmedesa released this 27 Aug 14:41
· 66 commits to master since this release

What's Changed

Fixed Enum Type Support in Migration Files
In previous versions, there was an issue with using the enum type in migration files. We've now successfully resolved this limitation. With version 2.1.1, you can use the enum type in migration files as demonstrated below:

$table->enum('status', ['Draft', 'Published']);

To take advantage of the improved enum support, use the following command when generating migrations:

php artisan api:generate Model "status:enum(Draft,Published)"