Remove objectMetadata isSoftDeletable
This commit is contained in:
@ -20,5 +20,4 @@ export interface ObjectMetadataInterface {
|
||||
isAuditLogged: boolean;
|
||||
labelIdentifierFieldMetadataId?: string | null;
|
||||
imageIdentifierFieldMetadataId?: string | null;
|
||||
isSoftDeletable?: boolean | null;
|
||||
}
|
||||
|
||||
@ -69,9 +69,6 @@ export class ObjectMetadataEntity implements ObjectMetadataInterface {
|
||||
@Column({ default: true })
|
||||
isAuditLogged: boolean;
|
||||
|
||||
@Column({ nullable: true, type: 'boolean' })
|
||||
isSoftDeletable?: boolean | null;
|
||||
|
||||
@Column({ nullable: true, type: 'uuid' })
|
||||
labelIdentifierFieldMetadataId?: string | null;
|
||||
|
||||
|
||||
@ -215,7 +215,6 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadataEnt
|
||||
isCustom: isCustom,
|
||||
isSystem: false,
|
||||
isRemote: objectMetadataInput.isRemote,
|
||||
isSoftDeletable: true,
|
||||
fields: isCustom
|
||||
? // Creating default fields.
|
||||
// No need to create a custom migration for this though as the default columns are already
|
||||
|
||||
Reference in New Issue
Block a user