Module: Sequent::Migrations::Functions::ClassMethods

Defined in:
lib/sequent/migrations/functions.rb

Instance Method Summary collapse

Instance Method Details

#all_projectorsObject

Short hand for Sequent::Core::Migratable.all



63
64
65
# File 'lib/sequent/migrations/functions.rb', line 63

def all_projectors
  Sequent::Core::Migratable.all
end

#alter_table(name) ⇒ Object



54
55
56
# File 'lib/sequent/migrations/functions.rb', line 54

def alter_table(name)
  AlterTable.new(name)
end

#replay_table(name) ⇒ Object



58
59
60
# File 'lib/sequent/migrations/functions.rb', line 58

def replay_table(name)
  ReplayTable.new(name)
end