Class: Jets::Command::Dynamodb

Inherits:
Base
  • Object
show all
Defined in:
lib/jets/commands/dynamodb_command.rb

Instance Method Summary collapse

Instance Method Details

#generate(name) ⇒ Object



18
19
20
# File 'lib/jets/commands/dynamodb_command.rb', line 18

def generate(name)
  Dynomite::Migration::Generator.new(name, options).generate
end

#migrateObject



7
8
9
10
# File 'lib/jets/commands/dynamodb_command.rb', line 7

def migrate
  Jets.boot
  Dynomite::Migration::Runner.new(options).run
end

#seedObject



24
25
26
27
# File 'lib/jets/commands/dynamodb_command.rb', line 24

def seed
  Jets.boot
  Dynomite::Seed.new(options).run
end