Finish db change from sqlite3 to postgre