Skip to content

Commit

Permalink
HCK-7932: fix FE of deactivated attributes in delta model (#227)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Jakemeyn <[email protected]>
  • Loading branch information
Vitalii4as and thomas-jakemeyn authored Sep 10, 2024
1 parent 20e2f52 commit b26f78e
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 b26f78e

Please sign in to comment.