Skip to content
  • Ryuta Kamizono's avatar
    e0366022
    Avoid double time zone converter decoration when user-defined timestamp... · e0366022
    Ryuta Kamizono authored
    Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type
    
    If type is given as a symbol, it will lookup a fresh type object via
    `Type.lookup`, but if type is omitted, `type_for_attribute` will lookup
    the database type which is already decorated by `define_attribute`.
    
    To avoid the double decoration, skip extra decoration if its type is
    already decorated.
    e0366022
    Avoid double time zone converter decoration when user-defined timestamp...
    Ryuta Kamizono authored
    Avoid double time zone converter decoration when user-defined timestamp attribute with implicit type
    
    If type is given as a symbol, it will lookup a fresh type object via
    `Type.lookup`, but if type is omitted, `type_for_attribute` will lookup
    the database type which is already decorated by `define_attribute`.
    
    To avoid the double decoration, skip extra decoration if its type is
    already decorated.
Loading