Generator Inputs

We will discuss console method here. You can check other options from above links.

When you run command, it give following instructions,

Specify fields for the model (skip id & timestamp fields, we will add it automatically)
(Read docs carefully to specify field inputs)
Enter "exit" to finish

Here, you have to insert fields for you models, except id & timestamps (created_at & updated_at) fields. That
will be automatically added by generator. When you are done with inserting fields. Type "exit".

When you run any command, it asks for two things:

Field Inputs

Validations

Field Inputs

Now, let's get started with specifying the field. There is some format in which we have to specify field
inputs