class Object

Public Instance Methods

identifier() click to toggle source

usage of t.identifier inside migrations

# File lib/has_identifier.rb, line 35
def identifier
  column(:identifier, :string, length: 19, null: false, index: true, unique: true)
end