add/fill legacy code table as pending migration