Skip to content

Instantly share code, notes, and snippets.

@eipipuz
Created December 11, 2009 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eipipuz/253935 to your computer and use it in GitHub Desktop.
Save eipipuz/253935 to your computer and use it in GitHub Desktop.
Usual case:
eipipuz@RadicalGolem:~/piss$ heroku db:push mysql://pissuser:password@localhost/pissing
Sending schema
Sending data
1 tables, 1 records
!!! Caught Server Exception | ETA: --:--:--
Taps Server Error: PGError ERROR: relation "users" does not exist
eipipuz@RadicalGolem:~/piss$ heroku info
=== high-fog-80
Web URL: http://high-fog-80.heroku.com/
Git Repo: git@heroku.com:high-fog-80.git
Dynos: 1
Workers: 0
Repo size: 892k
Slug size: 132k
Data size: 0K in 0 table
If I empty the table:
eipipuz@RadicalGolem:~/piss$ heroku db:push mysql://pissuser:password@localhost/pissing
Sending schema
Sending data
1 tables, 0 records
users: 100% |==========================================| Time: 00:00:00
Sending indexes
Resetting sequences
eipipuz@RadicalGolem:~/piss$ heroku info
=== high-fog-80
Web URL: http://high-fog-80.heroku.com/
Git Repo: git@heroku.com:high-fog-80.git
Dynos: 1
Workers: 0
Repo size: 892k
Slug size: 132k
Data size: 0K in 0 table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment