SUPPORT-9497: fix from review

This commit is contained in:
adel.ka 2025-10-24 12:41:55 +03:00
parent 417d8d05dd
commit ef451c2f58
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ public class Keys {
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true); public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
public static final UniqueKey<OkopfRecordsRecord> OKOPF_RECORDS_PKEY = Internal.createUniqueKey(OkopfRecords.OKOPF_RECORDS, DSL.name("okopf_records_pkey"), new TableField[] { OkopfRecords.OKOPF_RECORDS.OKOPF_RECORDS_ID }, true); public static final UniqueKey<OkopfRecordsRecord> OKOPF_RECORDS_PKEY = Internal.createUniqueKey(OkopfRecords.OKOPF_RECORDS, DSL.name("okopf_records_pkey"), new TableField[] { OkopfRecords.OKOPF_RECORDS.OKOPF_RECORDS_ID }, true);
public static final UniqueKey<OrganizationAllowedRecord> ORGANIZATION_ALLOWED_OGRN_KEY = Internal.createUniqueKey(OrganizationAllowed.ORGANIZATION_ALLOWED, DSL.name("organization_allowed_ogrn_key"), new TableField[] { OrganizationAllowed.ORGANIZATION_ALLOWED.OGRN }, true); public static final UniqueKey<OrganizationAllowedRecord> PK_ORGANIZATION_ALLOWED = Internal.createUniqueKey(OrganizationAllowed.ORGANIZATION_ALLOWED, DSL.name("pk_organization_allowed"), new TableField[] { OrganizationAllowed.ORGANIZATION_ALLOWED.ID }, true);
public static final UniqueKey<OrganizationAllowedRecord> ORGANIZATION_ALLOWED_PKEY = Internal.createUniqueKey(OrganizationAllowed.ORGANIZATION_ALLOWED, DSL.name("organization_allowed_pkey"), new TableField[] { OrganizationAllowed.ORGANIZATION_ALLOWED.ID }, true); public static final UniqueKey<OrganizationAllowedRecord> UNI_ORGANIZATION_ALLOWED_OGRN = Internal.createUniqueKey(OrganizationAllowed.ORGANIZATION_ALLOWED, DSL.name("uni_organization_allowed_ogrn"), new TableField[] { OrganizationAllowed.ORGANIZATION_ALLOWED.OGRN }, true);
public static final UniqueKey<ShedlockRecord> SHEDLOCK_PK = Internal.createUniqueKey(Shedlock.SHEDLOCK, DSL.name("shedlock_pk"), new TableField[] { Shedlock.SHEDLOCK.NAME }, true); public static final UniqueKey<ShedlockRecord> SHEDLOCK_PK = Internal.createUniqueKey(Shedlock.SHEDLOCK, DSL.name("shedlock_pk"), new TableField[] { Shedlock.SHEDLOCK.NAME }, true);
} }

View file

@ -105,12 +105,12 @@ public class OrganizationAllowed extends TableImpl<OrganizationAllowedRecord> {
@Override @Override
public UniqueKey<OrganizationAllowedRecord> getPrimaryKey() { public UniqueKey<OrganizationAllowedRecord> getPrimaryKey() {
return Keys.ORGANIZATION_ALLOWED_PKEY; return Keys.PK_ORGANIZATION_ALLOWED;
} }
@Override @Override
public List<UniqueKey<OrganizationAllowedRecord>> getUniqueKeys() { public List<UniqueKey<OrganizationAllowedRecord>> getUniqueKeys() {
return Arrays.asList(Keys.ORGANIZATION_ALLOWED_OGRN_KEY); return Arrays.asList(Keys.UNI_ORGANIZATION_ALLOWED_OGRN);
} }
@Override @Override