Class: Brut::CLI::Apps::DB::Rebuild
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#execute
#accepts, #args_description, #argv, #commands, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #name, #options, #opts, #puts, #run, #stdin, #system!, #theme
Constructor Details
Returns a new instance of Rebuild.
279
280
281
282
283
284
285
|
# File 'lib/brut/cli/apps/db.rb', line 279
def initialize
super([
Drop.new,
Create.new,
Migrate.new,
])
end
|
Instance Method Details
#bootstrap? ⇒ Boolean
278
|
# File 'lib/brut/cli/apps/db.rb', line 278
def bootstrap? = false
|
#default_rack_env ⇒ Object
277
|
# File 'lib/brut/cli/apps/db.rb', line 277
def default_rack_env = "development"
|
#description ⇒ Object
276
|
# File 'lib/brut/cli/apps/db.rb', line 276
def description = "Drop, re-create, and run migrations, effecitvely rebuilding the entire database"
|