lib/hanami/model/migrator.rb in hanami-model-1.0.2 vs lib/hanami/model/migrator.rb in hanami-model-1.0.3
- old
+ new
@@ -114,11 +114,11 @@
# end
#
# # Reads all files from "db/migrations" and apply them
# Hanami::Model::Migrator.migrate
#
- # # Migrate to a specifiy version
+ # # Migrate to a specific version
# Hanami::Model::Migrator.migrate(version: "20150610133853")
#
# NOTE: Class level interface SHOULD be removed in Hanami 2.0
def self.migrate(version: nil)
new.migrate(version: version)
@@ -187,10 +187,10 @@
# # ...
# adapter :sql, 'postgres://localhost/foo'
# migrations 'db/migrations'
# end
#
- # Hanami::Model::Migrator.prepare # => creates `foo' and run migrations
+ # Hanami::Model::Migrator.prepare # => creates `foo' and runs migrations
#
# @example Prepare Database (with schema dump)
# require 'hanami/model'
# require 'hanami/model/migrator'
#