Moving localization to a table on db