From 110bfd97caaa3093929e38436c1e73e515b98c34 Mon Sep 17 00:00:00 2001 From: AlonDavidBehr Date: Mon, 3 May 2021 20:02:52 +0200 Subject: [PATCH] dialect/sql/schema: fixed spelling mistakes in schema.go (#1532) --- dialect/sql/schema/schema.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialect/sql/schema/schema.go b/dialect/sql/schema/schema.go index c4d973e84..374fe2d89 100644 --- a/dialect/sql/schema/schema.go +++ b/dialect/sql/schema/schema.go @@ -269,7 +269,7 @@ func (c *Column) ScanDefault(value string) error { return nil } -// defaultValue adds tge `DEFAULT` attribute the the column. +// defaultValue adds the `DEFAULT` attribute to the column. // Note that, in SQLite if a NOT NULL constraint is specified, // then the column must have a default value which not NULL. func (c *Column) defaultValue(b *sql.ColumnBuilder) { @@ -311,7 +311,7 @@ func (c *Column) unique(b *sql.ColumnBuilder) { } } -// nullable adds the `NULL`/`NOT NULL` attribute to the column. it is exist in +// nullable adds the `NULL`/`NOT NULL` attribute to the column if it exists in // a different function to share the common declaration between the two dialects. func (c *Column) nullable(b *sql.ColumnBuilder) { attr := Null