Is the documentation correct?

On the documentation page: https://adonisjs.com/docs/4.1/migrations

table.enu(col, values, [options]) is correctly written ? or should the documentation be like this:
table.enum(col, values, [options]) ?

1 Like

A PR has been made to update this part of the documentation https://github.com/adonisjs/docs/pull/402

1 Like

@LeCoupa: table.enum() and table.enu() are identical methods.

See: http://knexjs.org/#Schema-enum

4 Likes

Good point :+1:

2 Likes