I currently have a one row settings column in Postgres with each column representing a setting:
setting1 | setting2 | setting3 | ...
------------------------------------
true | false | 17 | ...
I need to transpose this in to a table with key / value rows:
key | value
----------------
setting1 | true
setting2 | false
setting3 | 17
... | ...
I've seen similar questions here, but not this exact problem. Can anyone help?