Creating smart field table migration