Skip to content

Wrap column names in quotes

Kerri Miller requested to merge kerrizor/wrap-column-names-in-quotes into master

What does this MR do and why?

There are some examples in the existing DB where column names are reserved words, and are defined on tables with quotes (specifically, on merge_request_diff_files there is a column -- "binary"). Changing the column name might be a Good Idea At Some Point, but for now, wrapping the column names here in quotes will allow for migrations required as part of on-going partitioning work to proceed, without having to wait for several releases while we work through a lengthy renaming process.

Related to !149181 (merged) and #422765 (closed)

Merge request reports