Module: ActiveRecord::Dbt::Column::DataTestable::UniqueDataTestable

Extended by:
RequiredMethods
Included in:
ActiveRecord::Dbt::Column::DataTest, Seed::Enum::Yml
Defined in:
lib/active_record/dbt/column/data_testable/unique_data_testable.rb

Instance Method Summary collapse

Methods included from RequiredMethods

define_required_methods

Instance Method Details

#unique_testObject



12
13
14
# File 'lib/active_record/dbt/column/data_testable/unique_data_testable.rb', line 12

def unique_test
  unique? ? 'unique' : nil
end