Changes database import to write directly to the database.