edited migrations in .rb files because references were backwards. Then ran migration (rake db:migrate)