Skip to content

Commit

Permalink
HCK-7932: fix FE of deactivated attributes in delta model
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii4as committed Sep 9, 2024
1 parent a49de3c commit 3ccf570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const getAddColumnsScriptsForModifyModifyCollectionScript =
const columnsWithoutNotNull = getColumnsWithoutNotNullConstraint(_)(columns);

const properties = getEntityProperties(entity);
const columnStatement = getColumnsStatement(columnsWithoutNotNull);
const columnStatement = getColumnsStatement(columnsWithoutNotNull, entity.role?.isActivated ?? true);
const fullCollectionName = generateFullEntityName({ entity, dbVersion });
const { hydratedAddIndex, hydratedDropIndex } = hydrateIndex(_)({ entity, properties, definitions, dbVersion });
const dropIndexScript = provider.dropTableIndex(hydratedDropIndex);
Expand Down

0 comments on commit 3ccf570

Please sign in to comment.