Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Taps Deleted Everything #100

Open
bendangelo opened this Issue · 1 comment

1 participant

@bendangelo

So I just discovered taps and thought it was a great way to pull data from heroku and edit stuff locally. So I used heroku db:pull to get the database and that worked fine.

When I was finished making changes, I decided to push it. So I typed in heroku db:push. I got no errors nothing, it did mention, sending data 10 tables, 27 records, even though the database has at least 500 records.

After that finished, it printed Resetting sequences and all my data was lost on heroku and locally.

This sucks pretty hard. I'm not sure if I did something wrong but why would it delete everything locally if I was pushing?

@bendangelo

Ok I found the issue. If the database schema is not the same on heroku it deletes all data. Just db:migrate before pushing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.