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



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

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

#alter_table(name) ⇒ Object



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

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

#replay_table(name) ⇒ Object



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

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