• D
    Handle single quotes in PostgreSQL default column values · 78f62689
    Dylan Markow 提交于
    PostgreSQL escapes single quotes by using an additional single quote.
    When Rails queries the column information, PostgreSQL returns the
    default values with the escaped single quotes.
    
    #extract_value_from_default now converts these to one single quote each.
    
    Fixes #10881.
    78f62689
postgresql_adapter.rb 31.2 KB