Skip to content

Commit

Permalink
fix: add limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke authored Apr 24, 2024
1 parent a658918 commit 9a11af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1Tov2Migrations/migrate_approved_captures.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function migrate() {
)
) AND
rc.reference_id != 2463005
order by pt.id asc
order by pt.id asc limit 100000
`;
const rowCountResult = await knex.select(
knex.raw(`count(1) from (${base_query_string}) as src`),
Expand Down

0 comments on commit 9a11af4

Please sign in to comment.