made migration for rails from version 4.0.2 to 4.1.15