class Golem::Command::SetupDb

Command to setup the database schema (only useful for {Golem::DB::Pg}).

Constants

USAGE

@private

Public Instance Methods

run() click to toggle source

Run the command. Calls {Golem::DB.setup}.

# File lib/golem/command/setup_db.rb, line 7
def run
    Golem::DB.setup
    print "Database schema is set up at #{Golem::Config.db.to_s}\n" if verbose?
end