Skip to content

Commit 081a317

Browse files
committed
fix: wrong last id for nodejs release
1 parent 0d1408c commit 081a317

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* @param { import("knex").Knex } knex
3+
* @returns { Promise<void> }
4+
*/
5+
export function up(knex) {
6+
// 123061982 - https://github.com/nodejs/node/releases/tag/v20.8.0
7+
return knex.schema.raw(
8+
`UPDATE "kv" SET "value" = '123061982' WHERE "key" = 'Last-Cron-Node.js'`,
9+
);
10+
}
11+
12+
/**
13+
* @param { import("knex").Knex } knex
14+
* @returns { Promise<void> }
15+
*/
16+
export function down(knex) {
17+
// 124465449 - https://github.com/nodejs/node/releases/tag/v18.18.1
18+
return knex.schema.raw(
19+
`UPDATE "kv" SET "value" = '124465449' WHERE "key" = 'Last-Cron-Node.js'`,
20+
);
21+
}

0 commit comments

Comments
 (0)