migrate from sqlite3 to postgresql 9.3.4