* Drop a schema * * @param {string} schema Schema name to drop * @param {object} [options] Query options * * @returns {Promise}
(schema, options)
| 72 | * @returns {Promise} |
| 73 | */ |
| 74 | async dropSchema(schema, options) { |
| 75 | options = options || {}; |
| 76 | const sql = this.queryGenerator.dropSchema(schema); |
| 77 | return await this.sequelize.query(sql, options); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Drop all schemas |