Put workfows behind a feature flag (#6417)

We have recently merged
[#workflow](https://github.com/twentyhq/twenty/pull/6412) but we should
put the workflow standard object behind a feature flag for now

---------

Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
This commit is contained in:
Charles Bochet
2024-07-25 20:33:31 +02:00
committed by GitHub
parent 515bf666cf
commit 4cb83e050f
21 changed files with 81 additions and 91 deletions

View File

@ -83,7 +83,7 @@ export class ObjectMetadataEntity implements ObjectMetadataInterface {
})
fields: Relation<FieldMetadataEntity[]>;
@OneToMany(() => FieldMetadataEntity, (field) => field.object, {
@OneToMany(() => IndexMetadataEntity, (index) => index.objectMetadata, {
cascade: true,
})
indexes: Relation<IndexMetadataEntity[]>;