knex
Version:
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
14 lines (11 loc) • 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,
};