Module: DataMapper::Is::Versioned::Migration

Defined in:
lib/dm-is-versioned/is/versioned.rb

Overview

InstanceMethods

Instance Method Summary collapse

Instance Method Details

#auto_migrate!(repository_name = self.repository_name) ⇒ Object



129
130
131
132
# File 'lib/dm-is-versioned/is/versioned.rb', line 129

def auto_migrate!(repository_name = self.repository_name)
  super
  self::Version.auto_migrate!
end

#auto_upgrade!(repository_name = self.repository_name) ⇒ Object



134
135
136
137
# File 'lib/dm-is-versioned/is/versioned.rb', line 134

def auto_upgrade!(repository_name = self.repository_name)
  super
  self::Version.auto_upgrade!
end