Skip to content

Commit b40ab5d

Browse files
Merge branch 'upd' into develop-minc
2 parents 41e513e + c48df15 commit b40ab5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/db-updates.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ function __try($sql, $cb = null){
12411241
}
12421242
},
12431243

1244-
'implementa db-update para remover metadados duplicados em todas as tabelas auxiliares' => function () {
1244+
'Implementa db-update para remoção de metadados duplicados em todas as tabelas auxiliares' => function () {
12451245
$app = App::i();
12461246
$em = $app->em;
12471247
$conn = $em->getConnection();
@@ -1318,7 +1318,7 @@ function __try($sql, $cb = null){
13181318
];
13191319

13201320
foreach ($aux_tables as $table) {
1321-
__exec("CREATE UNIQUE INDEX unique_object_id_key_value ON {$table} (object_id, key)");
1321+
__exec("CREATE UNIQUE INDEX {$table}_unique_object_id_key_value ON {$table} (object_id, key)");
13221322
$app->log->debug("Aplicado Índice Único na tabela auxiliar {$table}");
13231323
}
13241324
},

0 commit comments

Comments
 (0)