diff --git a/qqq-dev-tools/bin/createTableToRecordEntity.groovy b/qqq-dev-tools/bin/createTableToRecordEntity.groovy index 8616a5d0..e8479d4e 100755 --- a/qqq-dev-tools/bin/createTableToRecordEntity.groovy +++ b/qqq-dev-tools/bin/createTableToRecordEntity.groovy @@ -178,10 +178,12 @@ if(writeTableMetaData) .withRecordLabelFields("TODO") .withBackendName(TODO) .withPrimaryKeyField("id") + .withUniqueKey(TODO) + .withRecordSecurityLock(TODO) + .withAuditRules(new QAuditRules().withAuditLevel(AuditLevel.TODO)) .withFieldsFromEntity({className}.class) .withBackendDetails(new RDBMSTableBackendDetails() - .withTableName("{tableName}") - ) + .withTableName("{tableName}")) .withSection(new QFieldSection("identity", new QIcon().withName("badge"), Tier.T1, List.of("id"))) .withSection(new QFieldSection("data", new QIcon().withName("text_snippet"), Tier.T2, List.of({dataFieldNames}))) .withSection(new QFieldSection("dates", new QIcon().withName("calendar_month"), Tier.T3, List.of("createDate", "modifyDate")));