Skip to content

Commit b62f2bc

Browse files
committed
Fix SQL docs in OLTP Streamlit
1 parent 4574206 commit b62f2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamlit/views/oltp_database_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def query_df(pool: ConnectionPool, sql: str) -> pd.DataFrame:
226226
st.code(
227227
'''
228228
GRANT CONNECT ON DATABASE databricks_postgres TO "099f0306-9e29-4a87-84c0-3046e4bcea02";
229-
GRANT USAGE ON SCHEMA public TO "099f0306-9e29-4a87-84c0-3046e4bcea02";
229+
GRANT USAGE, CREATE ON SCHEMA public TO "099f0306-9e29-4a87-84c0-3046e4bcea02";
230230
GRANT SELECT, INSERT, UPDATE, DELETE ON TABLE app_state TO "099f0306-9e29-4a87-84c0-3046e4bcea02";
231231
''',
232232
language="sql",

0 commit comments

Comments
 (0)