Switch to PostgreSQL and able to import old data