({ force = false }: { force?: boolean })
| 197 | } |
| 198 | |
| 199 | public async push({ force = false }: { force?: boolean }): Promise<EngineResults.SchemaPush> { |
| 200 | const schema = this.getPrismaSchema() |
| 201 | |
| 202 | const { warnings, unexecutable, executedSteps } = await this.engine.schemaPush({ |
| 203 | force, |
| 204 | schema, |
| 205 | filters: this.schemaFilter, |
| 206 | }) |
| 207 | |
| 208 | return { |
| 209 | executedSteps, |
| 210 | warnings, |
| 211 | unexecutable, |
| 212 | } |
| 213 | } |
| 214 | } |