Skip to content

Instantly share code, notes, and snippets.

@ojiry
Created March 28, 2012 02:17
Show Gist options
  • Save ojiry/2222908 to your computer and use it in GitHub Desktop.
Save ojiry/2222908 to your computer and use it in GitHub Desktop.
$ heroku pg:reset --db SHARED_DATABASE_URL
! The --db option has been deprecated
! Usage: heroku pg:reset [DATABASE]
# 怒られたので
$ heroku pg:reset SHARED_DATABASE_URL
SHARED_DATABASE_URL is deprecated, please use SHARED_DATABASE
----> Resetting SHARED_DATABASE (DATABASE_URL)
! WARNING: Potentially Destructive Action
! This command will affect the app: [アプリ名]
! To proceed, type "[アプリ名]" or re-run this command with --confirm [アプリ名]
> [アプリ名]
Resetting... done
$ heroku rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment