diff --git a/knexfile.js b/knexfile.js index f50cd530..d436cb97 100644 --- a/knexfile.js +++ b/knexfile.js @@ -18,7 +18,7 @@ const pgConfig = { tableName: 'migrations', }, seeds: { - directory: './test/seeds/dev', + directory: './test/seeds/test', }, } diff --git a/test/seeds/dev/initial-seed-tmp.js b/test/seeds/dev/initial-seed-tmp.js deleted file mode 100644 index d0e65403..00000000 --- a/test/seeds/dev/initial-seed-tmp.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @param { import("knex").Knex } knex - * @returns { Promise } - */ -exports.seed = async function(knex) { - // Deletes ALL existing entries - await knex('table_name').del() - await knex('table_name').insert([ - {id: 1, colName: 'rowValue1'}, - {id: 2, colName: 'rowValue2'}, - {id: 3, colName: 'rowValue3'} - ]); -};