MCPcopy Create free account
hub / github.com/axe-api/axe-api / up

Function up

packages/integrations/migrations/20211016150928_AddLessons.js:1–9  ·  view source on GitHub ↗
(knex)

Source from the content-addressed store, hash-verified

1const up = function (knex) {
2 const items = [
3 { name: "Math" },
4 { name: "Computer Science" },
5 { name: "Network" },
6 ];
7
8 return knex.table("lessons").insert(items);
9};
10
11const down = function (knex) {};
12

Callers

nothing calls this directly

Calls 2

insertMethod · 0.80
tableMethod · 0.45

Tested by

no test coverage detected