fixed some database bugs

This commit is contained in:
pdxlocations
2025-01-11 17:09:33 -08:00
parent 527aff0608
commit 037877180e
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ def save_message_to_db(channel, user_id, message_text):
# Construct the table name
table_name = f"{str(get_nodeNum())}_{channel}_messages"
quoted_table_name = f'"{table_name}"' # Quote the table name becuase we might begin with numerics
quoted_table_name = f'"{table_name}"' # Quote the table name becuase we begin with numerics
# Ensure the table exists
create_table_query = f'''