Attempting to convert database

Trying to convert database from sqlite3 to postgresql