Skip to content

Commit

Permalink
Merge pull request #2623 from LibreSign/backport/2621/stable29
Browse files Browse the repository at this point in the history
[stable29] fix: comlumn type
  • Loading branch information
vitormattos authored Mar 29, 2024
2 parents c86ab1c + d413038 commit 77edff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Migration/Version8000Date20230420125331.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array
'file_user_id' => $insert->createNamedParameter($row['file_id'], IQueryBuilder::PARAM_INT),
'mandatory' => $insert->createNamedParameter(1, IQueryBuilder::PARAM_INT),
'identifier_key' => $insert->createNamedParameter('account'),
'identifier_value' => $insert->createNamedParameter($row['user_id'], IQueryBuilder::PARAM_INT),
'identifier_value' => $insert->createNamedParameter($row['user_id']),
'attempts' => $insert->createNamedParameter($row['signed'] ? 1 : 0, IQueryBuilder::PARAM_INT),
'identified_at_date' => $insert->createNamedParameter($row['signed'] ? new \DateTime('@' . $row['signed']): null, IQueryBuilder::PARAM_DATE),
'last_attempt_date' => $insert->createNamedParameter($row['signed'] ? new \DateTime('@' . $row['signed']): null, IQueryBuilder::PARAM_DATE),
Expand Down
2 changes: 1 addition & 1 deletion lib/Migration/Version8000Date20231102215331.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array
->values([
'id' => $qbRestore->createNamedParameter($row['id'], IQueryBuilder::PARAM_INT),
'file_id' => $qbRestore->createNamedParameter($row['file_id'], IQueryBuilder::PARAM_INT),
'uuid' => $qbRestore->createNamedParameter($row['uuid'], IQueryBuilder::PARAM_INT),
'uuid' => $qbRestore->createNamedParameter($row['uuid']),
'display_name' => $qbRestore->createNamedParameter($row['display_name']),
'description' => $qbRestore->createNamedParameter($row['description']),
'created_at' => $qbRestore->createNamedParameter($row['created_at'], IQueryBuilder::PARAM_INT),
Expand Down

0 comments on commit 77edff0

Please sign in to comment.