node-go/packages/server/data/seeds/02_timeSetting.js
2020-02-05 16:54:09 -08:00

11 lines
No EOL
354 B
JavaScript

exports.seed = function(knex) {
// Deletes ALL existing entries
return knex('time_setting').del()
.then(function () {
// Inserts seed entries
return knex('time_setting').insert([
{id: 1, main_time: 'untimed', time_period: 1, period_length: 0, overtime: 'untimed', overtime_period: 0, overtime_length: 0},
]);
});
};