Reverse-engineer database schema from import script