added migration for type id