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

Method createSchema

lib/sequelize.js:715–717  ·  view source on GitHub ↗

* Create a new database schema. * * **Note:** this is a schema in the [postgres sense of the word](http://www.postgresql.org/docs/9.1/static/ddl-schemas.html), * not a database table. In mysql and sqlite, this command will do nothing. * * @see * {@link Model.schema} * * @para

(schema, options)

Source from the content-addressed store, hash-verified

713 * @returns {Promise}
714 */
715 async createSchema(schema, options) {
716 return await this.getQueryInterface().createSchema(schema, options);
717 }
718
719 /**
720 * Show all defined schemas

Callers 15

schema.test.jsFile · 0.45
model.test.jsFile · 0.45
dao.test.jsFile · 0.45
has-one.test.jsFile · 0.45
has-many.test.jsFile · 0.45
belongs-to.test.jsFile · 0.45
schema.test.jsFile · 0.45

Calls 1

getQueryInterfaceMethod · 0.95

Tested by

no test coverage detected