migrate ecto code example
Example: ecto migration
# Migrate Up
mix ecto.migrate
# Rollback latest migration
mix ecto.rollback --step 1
# Generate migration
mix ecto.gen.migration migration_name
# Migrate Up
mix ecto.migrate
# Rollback latest migration
mix ecto.rollback --step 1
# Generate migration
mix ecto.gen.migration migration_name