Skip to content

Commit 34eb517

Browse files
authored
Update foreign_key_editor.go comment
1 parent f464bd8 commit 34eb517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/plan/foreign_key_editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ func (reference *ForeignKeyReferenceHandler) validateColumnTypeConstraints(ctx *
578578
// TODO: The TIME type currently normalizes all precisions to TIME(6) internally,
579579
// which means TIME and TIME(n) are all treated as TIME(6). This prevents proper
580580
// precision validation between different TIME types in foreign keys.
581-
// See time.go:50-53 - "TIME is implemented as TIME(6)."
581+
// See time.go:"TIME is implemented as TIME(6)."
582582
isChildTime := types.IsTime(childType) || types.IsTimespan(childType)
583583
isParentTime := types.IsTime(parentType) || types.IsTimespan(parentType)
584584
if isChildTime && isParentTime {

0 commit comments

Comments
 (0)