Skip to content

Commit

Permalink
delete foreign key
Browse files Browse the repository at this point in the history
  • Loading branch information
amber-moe authored Apr 26, 2024
1 parent 97d2737 commit 17ff8b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/mysql-connector-python/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
FileKeywords TEXT,
FileContent MEDIUMTEXT,
FilePurpose VARCHAR(255),
FOREIGN KEY (ProductID) REFERENCES Products(ProductID)
ON DELETE CASCADE ON UPDATE CASCADE
);
"""
# 执行创建表的 SQL 语句
Expand Down

0 comments on commit 17ff8b9

Please sign in to comment.