fixing how the client is injected in the constructor
a bit hacked together on the sqlite3, but renameColumn for all db's