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



13
14
15
# File 'lib/sequent/migrations/projectors.rb', line 13

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

.versionObject



9
10
11
# File 'lib/sequent/migrations/projectors.rb', line 9

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

.versionsObject



5
6
7
# File 'lib/sequent/migrations/projectors.rb', line 5

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