Skip to content
  • Ryuta Kamizono's avatar
    52729fb5
    MySQL: Fix schema dumping `enum` and `set` columns correctly · 52729fb5
    Ryuta Kamizono authored
    `enum` and `set` are typed cast as `:string`, but currently the
    `:string` type is incorrectly reused for schema dumping.
    
    A cast type on columns is not always the same with `sql_type`, this
    fixes schema dumping `enum` and `set` columns to use `sql_type` instead
    of `type` correctly.
    52729fb5
    MySQL: Fix schema dumping `enum` and `set` columns correctly
    Ryuta Kamizono authored
    `enum` and `set` are typed cast as `:string`, but currently the
    `:string` type is incorrectly reused for schema dumping.
    
    A cast type on columns is not always the same with `sql_type`, this
    fixes schema dumping `enum` and `set` columns to use `sql_type` instead
    of `type` correctly.
Loading