lib/hanami/model/migrator.rb in hanami-model-1.0.4 vs lib/hanami/model/migrator.rb in hanami-model-1.1.0.beta1
- old
+ new
@@ -114,11 +114,11 @@
# end
#
# # Reads all files from "db/migrations" and apply them
# Hanami::Model::Migrator.migrate
#
- # # Migrate to a specific version
+ # # Migrate to a specifiy 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 runs migrations
+ # Hanami::Model::Migrator.prepare # => creates `foo' and run migrations
#
# @example Prepare Database (with schema dump)
# require 'hanami/model'
# require 'hanami/model/migrator'
#