Skip to content

Commit 22c3902

Browse files
authored
Update alter_foreign_key.go rm extra :
1 parent f43deba commit 22c3902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/plan/alter_foreign_key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ func foreignKeyComparableTypes(ctx *sql.Context, type1 sql.Type, type2 sql.Type)
651651
t1 := type1.Type()
652652
t2 := type2.Type()
653653

654-
// MySQL allows time-related types to reference each other in foreign keys:
654+
// MySQL allows time-related types to reference each other in foreign keys
655655
if (types.IsTime(type1) || types.IsTimespan(type1)) && (types.IsTime(type2) || types.IsTimespan(type2)) {
656656
return true
657657
}

0 commit comments

Comments
 (0)