lib/hanami/model/migrator/adapter.rb in hanami-model-1.3.0 vs lib/hanami/model/migrator/adapter.rb in hanami-model-1.3.1

- old
+ new

@@ -122,10 +122,10 @@ private # @since 1.1.0 # @api private - MIGRATIONS_FILE_NAME_PATTERN = /\A[\d]{14}/ + MIGRATIONS_FILE_NAME_PATTERN = /\A[\d]{14}/.freeze # @since 1.1.0 # @api private def version_to_rollback(table, steps) record = table.order(Sequel.desc(MIGRATIONS_TABLE_VERSION_COLUMN)).all[steps]