Add is system flag to object metadata (#2481)

* Add isSystem flag to objectMetadata

* squash migrations and add dataSource->objects FK

* fix missing datasource enum type
This commit is contained in:
Weiko
2023-11-13 17:09:26 +01:00
committed by GitHub
parent 9132845242
commit f8a887e33e
6 changed files with 58 additions and 65 deletions

View File

@ -56,6 +56,7 @@ export class ObjectMetadataService extends TypeOrmQueryService<ObjectMetadataEnt
targetTableName: `_${record.nameSingular}`,
isActive: true,
isCustom: true,
isSystem: false,
});
await this.tenantMigrationService.createCustomMigration(