Method: Dynomite::Migration::Runner#run
- Defined in:
- lib/dynomite/migration/runner.rb
#run ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/dynomite/migration/runner.rb', line 14 def run puts "Running Dynomite migrations" ensure_schema_migrations_exist! clear_error_schema_migrations! if ENV['CLEAR_ERRORS'] check_for_migration_errors! Dynomite::Migration::FileInfo.all_files.each do |path| migrate(path) end end |