SUPPORT-9497: fix from review

This commit is contained in:
adel.ka 2025-10-24 12:38:18 +03:00
parent d9c9c76781
commit 417d8d05dd
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ public class UploadAccessService {
public UploadAccessService(
OrganizationAccessDao organizationAccessDao,
@Value("${ervu.file.upload.ogrn.check.enabled:false}") boolean ogrnCheckEnabled
) {
) {
this.organizationAccessDao = organizationAccessDao;
this.ogrnCheckEnabled = ogrnCheckEnabled;
}

View file

@ -5,10 +5,10 @@
<comment>Create table for organizations allowed to upload files</comment>
<createTable tableName="organization_allowed">
<column name="id" type="bigint" autoIncrement="true">
<constraints primaryKey="true" primaryKeyName="organization_allowed_pk"/>
<constraints primaryKey="true" primaryKeyName="pk_organization_allowed"/>
</column>
<column name="ogrn" type="varchar(15)">
<constraints nullable="false" unique="true" uniqueConstraintName="organization_allowed_ogrn_unique"/>
<constraints nullable="false" unique="true" uniqueConstraintName="uni_organization_allowed_ogrn"/>
</column>
</createTable>
</changeSet>