first commit

This commit is contained in:
Jeannette Chin
2024-10-21 17:09:40 +01:00
commit 58f45f8947
15 changed files with 1964 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.seed = async function (knex) {
// Deletes ALL existing entries
// Deletes ALL existing entries
await knex("subscribers").del();
await knex("subscribers").insert([
{ firstname: "Jeannette", lastname: "Chin", email: "jc@jc.com" },
{ firstname: "Jo", lastname: "Blog", email: "jo@blog.com" }
]);
};