Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(postgres): Fixed a problem with array dimensions disappearing whe…
…n using "ALTER TABLE ADD COLUMN".

close #2571
  • Loading branch information
orisano committed Aug 3, 2023
commit 336aae58431ab5f17d5ae8f57bfd6279fe42d413
1 change: 1 addition & 0 deletions internal/sql/catalog/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (table *Table) addColumn(cmd *ast.AlterTableCmd) error {
IsNotNull: cmd.Def.IsNotNull,
IsUnsigned: cmd.Def.IsUnsigned,
IsArray: cmd.Def.IsArray,
ArrayDims: cmd.Def.ArrayDims,
Length: cmd.Def.Length,
})
return nil
Expand Down