create laravel project
install json-to-laravel-migrations package
Create a schema.json file in the root of your project, and use a template like the below:
Run the above using:
The above schema will create something three different migrations. The posts schema will look like:
No comments:
Post a Comment