11 lines
354 B
JavaScript
11 lines
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},
|
||
|
]);
|
||
|
});
|
||
|
};
|