📄️ Using generators
Let's say you have migrated a products table with the following schema:
📄️ Available generators
The available generators and what they generate are given below:
📄️ Auth generators
This package allows you to scaffold authentication for new user types according to javaabu/auth package.
📄️ Rolling back changes
If you want to roll back the changes made by the generator, you can run the following command.
📄️ Using Enum classes
If you want to use a PHP Enum class for a column instead of a MySQL enum or set type, you can indicate to the generator that the column should use an Enum class by adding a comment to the column in the format enum::