Skip to content

Commit

Permalink
sql/schema: support attaching a attribute to a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Mar 9, 2025
1 parent 76fbeda commit 1aa048d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ type (
// NamedDefault defines a named default expression.
NamedDefault struct {
Expr
Name string
Name string
Attrs []Attr
}
// ColumnType represents a column type that is implemented by the dialect.
ColumnType struct {
Expand Down

0 comments on commit 1aa048d

Please sign in to comment.