Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
SOHELAHMED7 committed Jun 26, 2024
1 parent ea8f499 commit 193b66d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/items/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ public function toColumnSchema():ColumnSchema
}
if (is_array($this->enumValues)) {
$column->enumValues = $this->enumValues;
if (ApiGenerator::isPostgres() && empty($this->xDbType)) {
if (ApiGenerator::isPostgres() && empty($this->xDbType)) {
$column->dbType = 'enum_'.Yii::$app->db->tablePrefix.$this->tableName.'_' . $column->name;
}
}
}
$this->handleDecimal($column);

Expand Down

0 comments on commit 193b66d

Please sign in to comment.