Skip to content

Commit

Permalink
Update Documentation: Temporarily add schemaNames param to allow user…
Browse files Browse the repository at this point in the history
… success (keystonejs#2435)
  • Loading branch information
MichaelZaporozhets authored Feb 26, 2020
1 parent 445df20 commit 27b4b68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/guides/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ keystone.createList('Foo', {

// ---- Schema dumping ----
if (typeof process.env.DUMP_SCHEMA === 'string') {
keystone.dumpSchema(process.env.DUMP_SCHEMA);
const schemaName = 'public'; //this is the default keystonejs schema name
keystone.dumpSchema(process.env.DUMP_SCHEMA, schemaName);
console.log(`Schema dumped to: ${path.resolve(process.env.DUMP_SCHEMA)}`);
process.exit(0);
}
Expand Down

0 comments on commit 27b4b68

Please sign in to comment.