mirror of
https://github.com/knex/knex.git
synced 2025-07-03 07:04:07 +00:00
14 lines
306 B
JavaScript
14 lines
306 B
JavaScript
// Stub Seed:
|
|
// Used for now in browser builds, where filesystem access isn't
|
|
// available.
|
|
const StubSeed = (module.exports = function () {});
|
|
|
|
const noSuchMethod = async function () {
|
|
throw new Error('Seeds are not supported');
|
|
};
|
|
|
|
StubSeed.prototype = {
|
|
make: noSuchMethod,
|
|
run: noSuchMethod,
|
|
};
|