Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
const
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
11
const
down =
function
(knex) {};
12
Callers
nothing calls this directly
Calls
2
insert
Method · 0.80
table
Method · 0.45
Tested by
no test coverage detected