Writing tasks for importing database schema