diff --git a/lib/rom/sql/schema/dsl.rb b/lib/rom/sql/schema/dsl.rb index 46ff8744..5233e7d9 100644 --- a/lib/rom/sql/schema/dsl.rb +++ b/lib/rom/sql/schema/dsl.rb @@ -31,7 +31,7 @@ def opts if index_dsl opts = super - { **opts, indexes: index_dsl.(relation, opts[:attributes]) } + {**opts, indexes: index_dsl.(relation, opts[:attributes])} else super end