File "C:\Users\Administrator\Downloads\fransh gotovaya\fransh gotovaya\main.py", line 45, in spam
q.execute("INSERT INTO spam (user,data) VALUES ('%s','%s')"%(user,date))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\mysql\connector\cursor_cext.py", line 330, in execute
result = self._cnx.cmd_query(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\mysql\connector\connection_cext.py", line 619, in cmd_query
raise get_mysql_exception(
mysql.connector.errors.DatabaseError: 1364 (HY000): Field 'id' doesn't have a default value
и что тут не так?