lib/rom/sql/migration/migrator.rb in rom-sql-2.5.0 vs lib/rom/sql/migration/migrator.rb in rom-sql-3.0.0
- old
+ new
@@ -18,10 +18,10 @@
VERSION_FORMAT = '%Y%m%d%H%M%S'.freeze
DEFAULT_INFERRER = Schema::Inferrer.new.suppress_errors.freeze
param :connection
- option :path, type: ROM::Types.Definition(Pathname), default: -> { DEFAULT_PATH }
+ option :path, type: ROM::Types.Nominal(Pathname), default: -> { DEFAULT_PATH }
option :inferrer, default: -> { DEFAULT_INFERRER }
# @api private
def run(options = {})