Class: Sequent::Migrations::Projectors

Inherits:
Object
  • Object
show all
Defined in:
lib/sequent/migrations/projectors.rb

Direct Known Subclasses

Migrations

Class Method Summary collapse

Class Method Details

.migrations_between(old, new) ⇒ Object



15
16
17
# File 'lib/sequent/migrations/projectors.rb', line 15

def self.migrations_between(old, new)
  Planner.new(versions).plan(old, new)
end

.versionObject



11
12
13
# File 'lib/sequent/migrations/projectors.rb', line 11

def self.version
  fail 'Define your own Sequent::Migrations::List class that extends this class and implements this method'
end

.versionsObject



7
8
9
# File 'lib/sequent/migrations/projectors.rb', line 7

def self.versions
  fail 'Define your own Sequent::Migrations::List class that extends this class and implements this method'
end