Currently works with postgres only, but need to extract the db level to extend and be able to extend for mongo and turso etc.