MCPcopy Create free account
hub / github.com/firebase/firebase-tools / migrate

Function migrate

scripts/dataconnect-test/tests.ts:52–67  ·  view source on GitHub ↗
(force: boolean)

Source from the content-addressed store, hash-verified

50}
51
52async function migrate(force: boolean) {
53 const args = force ? ["--force"] : [];
54 if (FIREBASE_DEBUG) {
55 args.push("--debug");
56 }
57 return await cli.exec(
58 "dataconnect:sql:migrate",
59 FIREBASE_PROJECT,
60 args,
61 __dirname,
62 /** quiet=*/ false,
63 {
64 FIREBASE_CLI_EXPERIMENTS: "dataconnect",
65 },
66 );
67}
68
69async function deploy(force: boolean) {
70 const args = ["--only", "dataconnect"];

Callers 1

tests.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…