2020-01-18 22:15:44 +00:00
|
|
|
|
|
|
|
exports.seed = function(knex) {
|
|
|
|
// Deletes ALL existing entries
|
|
|
|
return knex('room').del()
|
|
|
|
.then(function () {
|
|
|
|
// Inserts seed entries
|
|
|
|
return knex('room').insert([
|
2020-05-11 00:08:13 +00:00
|
|
|
{name: 'main', description: 'A general place to play Go'},
|
|
|
|
{name: 'private', description: 'A private place to play Go', private: true},
|
2020-01-18 22:15:44 +00:00
|
|
|
]);
|
|
|
|
});
|
|
|
|
};
|