Module: Onoma::Migrator

Defined in:
lib/onoma/migrator.rb,
lib/onoma/migrator/reference.rb,
lib/onoma/migrator/translation.rb

Defined Under Namespace

Classes: Reference, Translation

Class Method Summary collapse

Class Method Details

.migrateObject



4
5
6
7
8
9
10
# File 'lib/onoma/migrator.rb', line 4

def migrate
  Onoma.missing_migrations.each do |migration|
    puts migration.name
    Onoma::Migrator::Reference.run(migration)
    Onoma::Migrator::Translation.run(migration)
  end
end