Skip to content

Commit

Permalink
fix: show zero default for column (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug authored Nov 22, 2024
1 parent 05fba4f commit e33b702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Tenant/Schema/SchemaViewer/prepareData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function prepareRowTableSchema(data: TTableDescription = {}): SchemaData[] {
type: Type,
notNull: NotNull,
autoIncrement: Boolean(DefaultFromSequence),
defaultValue: Object.values(DefaultFromLiteral?.value || {})[0] || '-',
defaultValue: Object.values(DefaultFromLiteral?.value || {})[0] ?? '-',
familyName,
prefferedPoolKind,
columnCodec,
Expand Down

0 comments on commit e33b702

Please sign in to comment.