Lambda-School-Labs/allay-be

View on GitHub
data/seeds/005-offer_status_table.js

Summary

Maintainability
A
0 mins
Test Coverage
exports.seed = function (knex) {
  // Deletes ALL existing entries
  return knex('offer_status')
    .del()
    .then(function () {
      // Inserts seed entries
      return knex('offer_status').insert([
        {
          offer_status: 'No Offer',
        },
        {
          offer_status: 'Offer Accepted',
        },
        {
          offer_status: 'Offer Declined',
        },
        {
          offer_status: 'no offer status',
        },
      ]);
    });
};