We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3528ae6 commit 70daf83Copy full SHA for 70daf83
scripts/import_data_05.py
@@ -53,7 +53,7 @@ def run():
53
54
# - เพิ่มข้อมูลโน้ตสินค้า
55
sql = '''
56
- INSERT INTO product_notes (notes, product_id)
+ INSERT INTO product_notes (note, product_id)
57
VALUES (%s, %s);
58
'''
59
cursor.executemany(sql, product_notes_values)
scripts/import_data_06.py
@@ -55,7 +55,7 @@ def run():
# - เพิ่มข้อมูลแฮชแท็ก (ถ้ามีอันใหม่)
if len(hashtags_values) > 0:
- INSERT INTO hashtags (hashtag)
+ INSERT INTO hashtags (title)
VALUES (%s);
60
61
cursor.executemany(sql, hashtags_values)
0 commit comments