From caaf76c9a5d82c329b1b2fb1eebc339c6aa979e8 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Tue, 16 May 2023 08:32:46 -0500 Subject: [PATCH] Add placeholder lines for uniqueKey, recordSecurityLock, and auditRules --- qqq-dev-tools/bin/createTableToRecordEntity.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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")));