swtich from SQL to Postgres in development and prod