Fixed active record migrations