Samagra-Development / Text2SQL

20 stars 11 forks source link

fix #7 #41

Closed ShubhamBhut closed 12 months ago

ShubhamBhut commented 1 year ago

I have set connection and transaction of databases to readonly mode. Now queries returned by backend/OpenAI can not alter the db. I believe this was the whole point of only allowing CREATE TABLE into the onboarding schema. Now origiinal db is secured from not only CREATE TABLE but any other altering queries like DELETE, INSERT etc.