Checking and creating the existence of the columns needed.