MCPcopy
hub / github.com/sequelize/sequelize / createSchema

Method createSchema

lib/dialects/abstract/query-interface.js:60–64  ·  lib/dialects/abstract/query-interface.js::QueryInterface.createSchema

* Create a schema * * @param {string} schema Schema name to create * @param {object} [options] Query options * * @returns {Promise}

(schema, options)

Source from the content-addressed store, hash-verified

58 * @returns {Promise}
59 */
60 async createSchema(schema, options) {
61 options = options || {};
62 const sql = this.queryGenerator.createSchema(schema);
63 return await this.sequelize.query(sql, options);
64 }
65
66 /**
67 * Drop a schema

Callers

nothing calls this directly

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected