* Create a schema * * @param {string} schema Schema name to create * @param {object} [options] Query options * * @returns {Promise}
(schema, options)
| 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 |