class FluentMigratorCommandRunner::CommandBuilder

Public Class Methods

build(migration_options = {}) click to toggle source
# File lib/fluent-migrator-command-runner/command_builder.rb, line 5
def self.build(migration_options = {})
 if FigNewton.migration_provider == 'sqlserver' 
   command = SqlServerMigrationCommand.new(migration_options)
 else
   command = OracleMigrationCommand.new(migration_options)
 end
     command.build
end