Ecto or Elixir datatype that maps to MySql BIGINT
问题 I'm new to Elixir and Phoenix (6 months learning), I have a situation where I want to assign an Ecto model's field (not primary key or table ID) to BIGINT in MySql. I realize when you create an Ecto model, the ID of that model in MySql table would automatically mapped to BIGINT after migration. After checking this site, I tried to create an Ecto model's field to :integer or :id in both model and its corresponding migration script but it always gives me INT datatype in MySql. Anybody knows