MCPcopy
hub / github.com/prisma/prisma / push

Method push

packages/migrate/src/Migrate.ts:199–213  ·  view source on GitHub ↗
({ force = false }: { force?: boolean })

Source from the content-addressed store, hash-verified

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}

Callers 15

teardownScenarioFunction · 0.45
writeMethod · 0.45
addLinkMethod · 0.45
addLinksMethod · 0.45
collectSpanMethod · 0.45
parseJsonFromStderrFunction · 0.45
prism.tsFile · 0.45
drawBoxFunction · 0.45
uniqueFunction · 0.45
getGeneratorsFunction · 0.45
getBinaryPathsByVersionFunction · 0.45

Calls 2

getPrismaSchemaMethod · 0.95
schemaPushMethod · 0.65

Tested by 4

teardownScenarioFunction · 0.36
executeWranglerD1CommandFunction · 0.36
collectLinesFunction · 0.36
readFunction · 0.36