MCPcopy
hub / github.com/directus/directus / up

Function up

tests/blackbox/setup/migrations/20220112001234_create_tests_flow.js:1–11  ·  view source on GitHub ↗
(knex)

Source from the content-addressed store, hash-verified

1export async function up(knex) {
2 await knex.schema.createTable('tests_flow_data', (table) => {
3 table.increments('id').primary();
4 table.string('total_tests_count');
5 });
6
7 await knex.schema.createTable('tests_flow_completed', (table) => {
8 table.increments('id').primary();
9 table.string('test_file_path');
10 });
11}
12
13export async function down(knex) {
14 await knex.schema.dropTable('tests_flow_data');

Callers

nothing calls this directly

Calls 2

stringMethod · 0.80
primaryMethod · 0.65

Tested by

no test coverage detected