lib/rom/sql/foreign_key.rb in rom-sql-3.1.0 vs lib/rom/sql/foreign_key.rb in rom-sql-3.2.0

- old
+ new

@@ -1,12 +1,14 @@ +# frozen_string_literal: true + module ROM module SQL # @api private class ForeignKey extend Initializer include Dry::Equalizer(:attributes, :parent_table, :options) - DEFAULT_PARENT_KEYS = %i(id).freeze + DEFAULT_PARENT_KEYS = %i[id].freeze param :attributes param :parent_table, type: Dry::Types['strict.symbol']