Skip to content

Commit

Permalink
Merge pull request #2621 from LibreSign/fix/column-type
Browse files Browse the repository at this point in the history
fix: comlumn type
  • Loading branch information
vitormattos authored Mar 29, 2024
2 parents ba3a05f + 0a8d507 commit 4380a3e
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 4380a3e

Please sign in to comment.