Class: Heroku::Command::Schemas

Inherits:
Base
  • Object
show all
Defined in:
lib/heroku/command/schemas.rb

Instance Method Summary collapse

Instance Method Details

#dropObject



12
13
14
15
16
17
18
# File 'lib/heroku/command/schemas.rb', line 12

def drop
  command = HerokuSchemas::Drop.new(
    context_app: app,
    string_reference: shift_argument
  )
  command.perform
end

#indexObject



4
5
6
7
8
9
10
# File 'lib/heroku/command/schemas.rb', line 4

def index
  command = HerokuSchemas::Migration.new(
    context_app: app,
    string_reference: shift_argument
  )
  command.perform
end

#showObject



20
21
22
23
24
25
# File 'lib/heroku/command/schemas.rb', line 20

def show
  command = HerokuSchemas::Show.new(
    context_app: app
  )
  command.perform
end