Skip to content

Commit

Permalink
eee
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispenGari committed Feb 11, 2024
1 parent 535c7e9 commit 9a56800
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dataloom/tests/mysql/test_update_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ class Post(Model):
createdAt = CreatedAtColumn()
# relations
userId = ForeignKeyColumn(
User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE"
User,
type="int",
required=True,
onDelete="CASCADE",
onUpdate="NO ACTION",
)

conn, _ = mysql_loom.connect_and_sync([Post, User], drop=True, force=True)
Expand Down

0 comments on commit 9a56800

Please sign in to comment.