Class: DatabaseConsistency::Writers::Autofix::HasOneMissingUniqueIndex
- Inherits:
-
AssociationMissingIndex
- Object
- Base
- MigrationBase
- AssociationMissingIndex
- DatabaseConsistency::Writers::Autofix::HasOneMissingUniqueIndex
- Defined in:
- lib/database_consistency/writers/autofix/has_one_missing_unique_index.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from MigrationBase
Methods included from DatabaseConsistency::Writers::Autofix::Helpers::Migration
#migration_configuration, #migration_path, #migration_path_pattern
Methods inherited from Base
Constructor Details
This class inherits a constructor from DatabaseConsistency::Writers::Autofix::Base
Instance Method Details
#attributes ⇒ Object
7 8 9 |
# File 'lib/database_consistency/writers/autofix/has_one_missing_unique_index.rb', line 7 def attributes super.merge(unique: true) end |