Add dimension table code and caption column to "variable" table