...

/

Column Type and Modifier Methods

Column Type and Modifier Methods

Learn about some column type and modifier methods that are used in schema files.

We'll cover the following...

The following are some column type and modifier methods that are used to define the characteristics of individual field attributes in the up() method in the schema files:

Column type methods

Method Description
table.increments(name) Creates a column with auto-incrementing values.
...