Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppanopticon committed Nov 4, 2023
1 parent 006eafe commit 1ec405f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ class DefaultEntity(override val name: Name.EntityName, override val parent: Def
if (it.getSearchKeyRange(NameBinding.Entity.toEntry(this@DefaultEntity.name)) != null) {
do {
val columnName = NameBinding.Column.fromEntry(it.key)
if (columnName.entity() != this@DefaultEntity.name) {
break
}
val columnEntry = ColumnMetadata.fromEntry(it.value)
val columnDef = ColumnDef(columnName, columnEntry.type, columnEntry.nullable, columnEntry.primary, columnEntry.primary)
if (columnDef.type is Types.String || columnDef.type is Types.ByteString) {
Expand Down

0 comments on commit 1ec405f

Please sign in to comment.