class Rails::Generators::GeneratedAttribute

def inject_index_options

def inject_index_options
  has_uniq_index? ? ", unique: true" : ""
end