rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Unique attribute of IndexDefinition should be a boolean #1098

Closed aidanharan closed 9 months ago

aidanharan commented 9 months ago

The unique attribute of IndexDefinition should be a boolean.

Fixes ActiveRecord::Migration::ReferencesStatementsTest#test_creates_named_unique_index test.

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/6328689792/job/17187421431

ActiveRecord::Migration::ReferencesStatementsTest#test_creates_named_unique_index [/usr/local/bundle/bundler/gems/rails-6797c7382e37/activerecord/test/cases/migration/references_statements_test.rb:82]:
Expected false to be truthy.

bin/rails test /usr/local/bundle/bundler/gems/rails-6797c7382e37/activerecord/test/cases/migration/references_statements_test.rb:80