rejig migrations to resolve issues when importing into parent app, and add dependency on instagram gem