I got a problem with creating references in rails 5.1. While rails 5.1 uses bigint(20) for default id, the older still use integer(11) this causes the problem of creating foreign keys(when the new table(rails 5.1) has an association with the older). Now I want to alter all the old id type to bigint, I already created the migration for it, but I faced with another problem: ```
Mysql2::Error: Cannot change column 'id': used in a foreign key constraint 'fk_rails_8faf9b95af' of table 'bene_fitness_server_development.messages': ALTER TABLE `chat_groups` CHANGE `id` `id` bigint NOT NULL
``` How can I alter column with the foreign key by rails?