Closed pamelaolney closed 8 years ago
sounds like you have a migration thats happening before the user one thats using users as a foreign key.
Do I need to set foreign key somewhere? I have been working on this for a while. I tried adding user seeds to my seed file. tried removing my migrations and re-adding them. tried to manually input the reference user. Not sure where the problem is :(
forget it
i'm so sorry, didn't realize this got closed!
were you able to figure it out?
Hi,
my repo: https://github.com/pamelaolney/makali branch: devise
I am trying to use devise. This is a first for me. I keep getting this error when I try to rake db:migrate
Not sure why. I am following the mini lesson instructions.
https://github.com/ga-wdi-lessons/rails_features_CRD
I deleted my previous user information without devise and recreated it. I read this stack overflow response about it and the guy said that it had something to do with duplicate pg table? I am having trouble checking if that is my issue.
http://stackoverflow.com/questions/18306132/rails-app-installing-devise-rake-dbmigrate-error#comment27005675_18322481
User migrations
Activities Migrations
Not sure if my seed file would be related at all. But I had user id's for each activity previously and a User.destroy and User.create. Now it is no longer there because I thought it would negatively affect things. Should I bring that back?
Seed file