We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f464bd8 commit 34eb517Copy full SHA for 34eb517
sql/plan/foreign_key_editor.go
@@ -578,7 +578,7 @@ func (reference *ForeignKeyReferenceHandler) validateColumnTypeConstraints(ctx *
578
// TODO: The TIME type currently normalizes all precisions to TIME(6) internally,
579
// which means TIME and TIME(n) are all treated as TIME(6). This prevents proper
580
// precision validation between different TIME types in foreign keys.
581
- // See time.go:50-53 - "TIME is implemented as TIME(6)."
+ // See time.go:"TIME is implemented as TIME(6)."
582
isChildTime := types.IsTime(childType) || types.IsTimespan(childType)
583
isParentTime := types.IsTime(parentType) || types.IsTimespan(parentType)
584
if isChildTime && isParentTime {
0 commit comments