We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1408c commit 081a317Copy full SHA for 081a317
migrations/20231012105504_fixup_nodejs_id_format.js
@@ -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
14
15
16
+export function down(knex) {
17
+ // 124465449 - https://github.com/nodejs/node/releases/tag/v18.18.1
18
19
+ `UPDATE "kv" SET "value" = '124465449' WHERE "key" = 'Last-Cron-Node.js'`,
20
21
0 commit comments