I updated the length of the index for the xml_text column to 1000. Rails wants this index to have a length. Or at least RSpec does. You may need/want to change that in prod. I have no idea. So you might have to do some fancy editing before deployments