lib/hanami/model/migrator/adapter.rb in hanami-model-1.0.0.beta2 vs lib/hanami/model/migrator/adapter.rb in hanami-model-1.0.0.beta3

- old
+ new

@@ -71,9 +71,11 @@ # @see Hanami::Model::Migrator.drop def drop raise MigrationError.new("Current adapter (#{connection.database_type}) doesn't support drop.") end + # @since 0.4.0 + # @api private def migrate(migrations, version) version = Integer(version) unless version.nil? Sequel::Migrator.run(connection.raw, migrations, target: version, allow_missing_migration_files: true) rescue Sequel::Migrator::Error => e