You can also use the size option in the migration. Here’s an example from the ecto_sql tests:
Note how name is generated as a VARCHAR(20).
You can also use the size option in the migration. Here’s an example from the ecto_sql tests:
Note how name is generated as a VARCHAR(20).