Class | Heroku::Command::Pg |
In: |
lib/heroku/command/pg.rb
|
Parent: | BaseWithApp |
manage heroku postgresql databases
KB | = | 1024 unless self.const_defined?(:KB) |
MB | = | 1024 * KB unless self.const_defined?(:MB) |
GB | = | 1024 * MB unless self.const_defined?(:GB) |
pg:backups
list legacy postgres backups
DEPRECATED: see docs.heroku.com/pgbackups#legacy
-d, —db DATABASE # the config var that contains the database URL you‘d like to use
pg:info
show database status
-d, —db DATABASE # the config var that contains the database URL you‘d like to use
pg:ingress
allow direct connections to the database from this IP for one minute (dedicated only)
-d, —db DATABASE # the config var that contains the database URL you‘d like to use
pg:reset
delete all data in the specified database
-d, —db DATABASE # the config var that contains the database URL you‘d like to use
pg:wait
monitor a database currently being created, exit when complete
-d, —db DATABASE # the config var that contains the database URL you‘d like to use