phinx-migrations-generator: Inconsistency after the migration process

https://github.com/odan/phinx-migrations-generator/blob/81eca42a54dae99d5b10c4a16f5fd1254daf9be8/src/Migration/Adapter/Generator/PhinxMySqlColumnOptionGenerator.php#L203

When I use tinyint column type, I can set limit less than 4. Maybe we should use something like

min(INT_TINY, $column_data['LIMIT'])

instead of just mapping types?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

I just fixed a Bug in combination with bigint(20). There was a incorrect mapping.