Class: RaceGuard::IndexIntegrity::IndexDefinition
- Inherits:
-
Struct
- Object
- Struct
- RaceGuard::IndexIntegrity::IndexDefinition
- Defined in:
- lib/race_guard/index_integrity/schema_analyzer.rb
Overview
Static scan for unique indexes in schema.rb or from an AR connection (Epic 5.2).
require "race_guard/index_integrity/schema_analyzer"
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#name ⇒ Object
Returns the value of attribute name.
-
#table ⇒ Object
Returns the value of attribute table.
-
#unique ⇒ Object
Returns the value of attribute unique.
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns
11 12 13 |
# File 'lib/race_guard/index_integrity/schema_analyzer.rb', line 11 def columns @columns end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'lib/race_guard/index_integrity/schema_analyzer.rb', line 11 def name @name end |
#table ⇒ Object
Returns the value of attribute table
11 12 13 |
# File 'lib/race_guard/index_integrity/schema_analyzer.rb', line 11 def table @table end |
#unique ⇒ Object
Returns the value of attribute unique
11 12 13 |
# File 'lib/race_guard/index_integrity/schema_analyzer.rb', line 11 def unique @unique end |