Skip to content

Commit cc338d8

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 695c42b commit cc338d8

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
@@ -655,7 +655,7 @@ func foreignKeyComparableTypes(ctx *sql.Context, type1 sql.Type, type2 sql.Type)
655655
if (types.IsTime(type1) || types.IsTimespan(type1)) && (types.IsTime(type2) || types.IsTimespan(type2)) {
656656
// MySQL allows time-related types to reference each other in foreign keys:
657657
// - DATETIME can reference DATETIME with different precision
658-
// - TIMESTAMP can reference TIMESTAMP with different precision
658+
// - TIMESTAMP can reference TIMESTAMP with different precision
659659
// - DATETIME can reference TIMESTAMP and vice versa
660660
// - TIME can reference TIME with different precision
661661
return true

0 commit comments

Comments
 (0)