Skip to content

Commit 7844c1c

Browse files
committed
fix SQL errors
1 parent f5bf156 commit 7844c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/gen_fake_mysql_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
) ENGINE=InnoDB AUTO_INCREMENT=0;
3131
'''
3232

33-
DROP_TABLE_SQL_FMT = '''DROP TABLE IF NOT EXISTS {database}.{table};'''
33+
DROP_TABLE_SQL_FMT = '''DROP TABLE IF EXISTS {database}.{table};'''
3434

3535
INSERT_SQL_FMT = '''INSERT INTO {database}.{table} (customer_id, event, sku, amount, device, trans_datetime) VALUES("{customer_id}", "{event}", "{sku}", {amount}, "{device}", "{trans_datetime}");'''
3636

0 commit comments

Comments
 (0)