knex/lib/dialects/sqlite3/seeder.js

19 lines
452 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function(client) {
var Seeder = require('../../seed');
var inherits = require('inherits');
// Inherit from the `Seeder` constructor's prototype,
// so we can add the correct `then` method.
function Seeder_SQLite3() {
this.client = client;
Seeder.apply(this, arguments);
}
inherits(Seeder_SQLite3, Seeder);
// Assign the newly extended `Seeder` constructor to the client object.
client.Seeder = Seeder_SQLite3;
};