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

Method createSchema

src/sequelize.js:723–725  ·  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 * Model.schema * * @para

(schema, options)

Source from the content-addressed store, hash-verified

721 * @returns {Promise}
722 */
723 async createSchema(schema, options) {
724 return await this.getQueryInterface().createSchema(schema, options);
725 }
726
727 /**
728 * 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