Initial commit
This commit is contained in:
13
node_modules/knex/lib/migrations/seed/seed-stub.js
generated
vendored
Executable file
13
node_modules/knex/lib/migrations/seed/seed-stub.js
generated
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
// 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,
|
||||
};
|
||||
Reference in New Issue
Block a user