Moves a no-code app's data to a Cloudflare D1 database and R2 bucket you own, checked at every step.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional. Bearer <key> after buying a pass. The audit, plan and free trial need no key.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Converts the app's privacy rules into policy.ts (per-table read and write rules, default deny) and a generated test file with allow and deny cases. Rules it cannot translate with certainty are listed as MANUAL with their original text, never guessed. Reads the rules saved by nc_audit when it was given an app_spec; pass app_spec here to use a newer one.
Return the file contents in the reply as well as writing them to R2.
Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.
app-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit.
Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired.
An R2 bucket in that account, for staging and schema files.
A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends.
The customer's Cloudflare account id.
Access key id of an R2 API token that can read and write that bucket.
Its secret. Sealed in the job, deleted when it ends.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http nocode-migrator https://nc.redcenterstudio.com/mcp
Headers
Authorization (optional, not in the config above): Optional. Bearer <key> after buying a pass. The audit, plan and free trial need no key.Converts the app's privacy rules into policy.ts (per-table read and write rules, default deny) and a generated test file with allow and deny cases. Rules it cannot translate with certainty are listed as MANUAL with their original text, never guessed. Reads the rules saved by nc_audit when it was given an app_spec; pass app_spec here to use a newer one.
| Argument | Type | Description |
|---|---|---|
| inline | boolean | Return the file contents in the reply as well as writing them to R2. |
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| app_spec | object | app-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"inline": {
"type": "boolean",
"description": "Return the file contents in the reply as well as writing them to R2."
},
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"app_spec": {
"type": "object",
"description": "app-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}Shows the credit balance, the passes paid for (which app, until when, record and file limits), recent credit changes, usage in the last 30 days and where to add credits. Free. Needs an API key.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Read-only inventory of a Bubble app before moving its data to Cloudflare D1 and R2: data types, fields, relations, option sets, record counts, types the Data API does not expose, and a risk list with the estimated workload the export would use. Nothing is written to the app. Pass app_spec (app-spec.json from the nocode-migration-audit plugin) for privacy rules and workflow counts, or editor_catalog (the Bubble MCP list_types output) when you have no app_spec. Better: call nc_connect first, have the owner enter the Data API token and upload the catalog on its page, then pass job_id here with no token or catalog. Returns a job_id for nc_plan.
| Argument | Type | Description |
|---|---|---|
| detail | string | Apps with more than 30 types get a summary of the biggest types by default. full returns everything. |
| job_id | string | A job from nc_connect: its sealed Data API token and uploaded catalog are used. |
| source* | string | The source platform. Bubble apps only in v1. |
| version | string | Which database to count. Default live. |
| app_spec | object | app-spec.json from the nocode-migration-audit plugin (spec version 0.1). |
| app_base_url* | string | The app's address, for example https://yourapp.bubbleapps.io or its custom domain. |
Returns a one-time link to a page on this server where the owner types the Cloudflare token, the R2 keys and the source app's Data API token, and can upload the editor catalog file. They are checked, sealed in the job and never pass through the chat. Use it instead of putting tokens in tool calls. Give app_base_url (and version) for a new job, or job_id to add tokens to an existing one. The link works for 30 minutes. Free.
| Argument | Type | Description |
|---|---|---|
| job_id | string | An existing job, to add or replace its tokens. |
| version | string | Which database: live (default) or test. |
| app_base_url | string | The source app's address, for a new job. |
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"description": "An existing job, to add or replace its tokens."
},
"version": {
"enum": [
"live",
"test"
],
"type": "string",
"description": "Which database: live (default) or test."
},
"app_base_url": {
"type": "string",
"description": "The source app's address, for a new job."
}
},
"additionalProperties": false
}Refuses to run unless the last nc_verify passed and nothing was exported, loaded, copied or imported after it. Then returns the exact steps: freeze the old app, the final delta (nc_export with since, nc_load, nc_files, nc_users, nc_verify again), publish the redirects, the DNS change to make in Cloudflare, the email to send, what to watch, and the rollback. It never changes DNS or the old app. Call it again with complete: true and confirm_cutover: true after the move to record it and delete every credential held for the job.
| Argument | Type | Description |
|---|---|---|
| domain | string | The address users visit, for example www.example.com. Required when the old app is on a bubbleapps.io address. |
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| complete | boolean | Record that the move is done. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| cf_api_token |
Pages through the source app's records (read only) into NDJSON objects in the customer's R2 bucket. Resumable: progress is saved after every page, so a stopped run continues where it stopped. Each call does a bounded slice and returns status partial until every type is done; call it again. Pass since for a delta run that exports only records modified after that time.
| Argument | Type | Description |
|---|---|---|
| since | string | ISO date. Only records modified after it (a delta run). Starts a new run once the previous one is done. |
| types | array | Data type keys to export. Default: every type not skipped in the plan. |
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| reexport | boolean | Export everything again even though a finished run exists. |
| max_pages | number | Pages of up to 100 records per call. Default 20. |
| r2_bucket | string |
Copies every file and image the loaded data points at from the source's storage into the customer's R2 bucket, stored under its content hash (the same file is stored once). Records old URL to new key in the file_map table, fills each file field's key column, and keeps the old URL in its legacy column. Links inside text are copied too; rewriting the text is off unless rewrite_text is true, and the originals are backed up. Only the source platform's own storage is copied unless allow_hosts adds more. Resumable: each call does a bounded batch and returns status partial until done.
| Argument | Type | Description |
|---|---|---|
| bucket | string | R2 bucket for the files. Default: the staging bucket. |
| job_id* | string | |
| rewrite | boolean | Fill the key columns once a file is copied. Default true. |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| max_bytes | number | Largest file to copy. Default 50 MB. |
| max_files | number | Files per call. Default 15. |
Loads the staged records into the customer's D1 database by upsert on id. A second run changes zero rows. References to records that do not exist are set to null and logged (orphans), never dropped silently. Each call does a bounded slice and returns status partial until done. truncate_first empties the tables first and needs confirm_overwrite: true.
| Argument | Type | Description |
|---|---|---|
| mode | string | Upsert by id (the only mode in v1). |
| types | array | Data type keys to load. Default: all exported types. |
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| reprocess | boolean | Run every staged object again, for example after a schema change. Rows that already match change nothing. |
Checks that the migrator is reachable and the API key works. Returns the server name, version and time.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Mapping plan for a job from nc_audit: one D1 table per data type (wide types split into linked tables, lists as join tables), a SQL preview of the first three tables, slim-down suggestions (empty types, logs, chat history) and an effort tier. Nothing is created. Skip lists are decisions for the owner: pass them only after the owner agrees.
| Argument | Type | Description |
|---|---|---|
| detail | string | Plans with more than 30 tables list the biggest by default. full returns everything. |
| job_id* | string | The job_id from nc_audit. |
| skip_types | array | Data type keys to leave out, as agreed with the owner. |
| id_strategy | string | Primary keys keep the source's unique ids (the only option in v1). |
| skip_fields | array | Fields to leave out, as type.field. |
| primitive_lists | string | Lists of text or numbers as a JSON column (default) or a join table. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"detail": {
"enum": [
"summary",
"full"
],
"type": "string",
"description": "Plans with more than 30 tables list the biggest by default. full returns everything."
},
"job_id": {
"type": "string",
"description": "The job_id from nc_audit."
},
"skip_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Data type keys to leave out, as agreed with the owner."
},
"id_strategy": {
"enum": [
"keep_bubble_ids"
],
"type": "string",
"description": "Primary keys keep the source's unique ids (the only option in v1)."
},
"skip_fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fields to leave out, as type.field."
},
"primitive_lists": {
"enum": [
"json",
"table"
],
"type": "string",
"description": "Lists of text or numbers as a JSON column (default) or a join table."
}
},
"additionalProperties": false
}Builds redirects.json (301s from old Bubble paths and query forms to the new routes), a redirects.ts module for the new Worker, an _redirects file for exact paths, and a curl script that tests every URL. Old URLs come from a sitemap (a sitemap index is followed) or url_list. A URL whose route does not change is not redirected: it is listed as unchanged and expected to answer 200. A URL it cannot place is listed as unmapped with the reason, never guessed. Give new routes with page_routes, for example { "listing_detail": "/rooms/:slug" }.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| app_spec | object | app-spec.json, for the page list. Default: the one given to nc_audit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| new_base | string | Origin of the new app for the expected Location, for example https://www.example.com. Default: the old URL's own origin. |
| url_list | array | Old URLs, absolute or paths. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
Generates numbered D1 migration SQL files and a Drizzle schema from the agreed plan (nc_plan), and writes them to the customer's R2 under nc/<job>/schema/. With apply: true it creates the D1 database in the customer's account and runs the migrations. Safe to repeat: every statement is idempotent. Run nc_plan first and agree its skip list with the owner.
| Argument | Type | Description |
|---|---|---|
| apply | boolean | Create the database and run the migrations. Default false: only generate the files. |
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| database_name |
Turns the loaded users into login identities (email, created date, and the verified flag as exported) and writes the recipient list to the customer's R2. Passwords are not migrated: Bubble does not export password hashes, so every user signs in with a magic link or sets a new password by email. Returns counts and an announcement template. It does not send any email.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| strategy | string | How users sign in the first time. Default magic_link. |
| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| r2_access_key_id |
Checks the loaded data and says pass or fail: row counts per type against the source's count now, a checksum sample (default 500 records per type, sha256 of the canonical JSON of the mapped columns, read back from D1), broken foreign keys, and that every copied file exists in R2. Writes verification.md to the customer's R2. Reads the source and the target; changes nothing. Each call does a bounded part and returns partial until done. nc_cutover refuses to run unless the last verification passed and nothing changed after it.
| Argument | Type | Description |
|---|---|---|
| types | array | Data type keys to verify. Default: all. |
| job_id* | string | |
| sample | number | Records to checksum per type. Default 500. |
| restart | boolean | Start a new verification instead of continuing the open one. |
| upgrade | boolean | Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit. |
| go_ahead | boolean | Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired. |
| max_cost | number | Work per call. Default 120. |
| r2_bucket |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 16, 2026.
| data_api_token | string | A Data API token from the app's Settings > API. Needed for record counts. Never stored after the audit. |
| editor_catalog | object | The output of the Bubble MCP list_types tool, used for the schema when there is no app_spec. |
{
"type": "object",
"required": [
"source",
"app_base_url"
],
"properties": {
"detail": {
"enum": [
"summary",
"full"
],
"type": "string",
"description": "Apps with more than 30 types get a summary of the biggest types by default. full returns everything."
},
"job_id": {
"type": "string",
"description": "A job from nc_connect: its sealed Data API token and uploaded catalog are used."
},
"source": {
"enum": [
"bubble"
],
"type": "string",
"description": "The source platform. Bubble apps only in v1."
},
"version": {
"enum": [
"live",
"test"
],
"type": "string",
"description": "Which database to count. Default live."
},
"app_spec": {
"type": "object",
"description": "app-spec.json from the nocode-migration-audit plugin (spec version 0.1)."
},
"app_base_url": {
"type": "string",
"description": "The app's address, for example https://yourapp.bubbleapps.io or its custom domain."
},
"data_api_token": {
"type": "string",
"description": "A Data API token from the app's Settings > API. Needed for record counts. Never stored after the audit."
},
"editor_catalog": {
"type": "object",
"description": "The output of the Bubble MCP list_types tool, used for the schema when there is no app_spec."
}
},
"additionalProperties": false
}| string |
| A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| confirm_cutover | boolean | Needed with complete: confirms DNS has moved and credentials may be deleted. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"domain": {
"type": "string",
"description": "The address users visit, for example www.example.com. Required when the old app is on a bubbleapps.io address."
},
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"complete": {
"type": "boolean",
"description": "Record that the move is done."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"confirm_cutover": {
"type": "boolean",
"description": "Needed with complete: confirms DNS has moved and credentials may be deleted."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| An R2 bucket in that account, for staging and schema files. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| data_api_token | string | The source app's Data API token. Needed on the first call; sealed in the job. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
| max_requests_per_minute | number | Throttle for the source app. Default 60. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"since": {
"type": "string",
"description": "ISO date. Only records modified after it (a delta run). Starts a new run once the previous one is done."
},
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Data type keys to export. Default: every type not skipped in the plan."
},
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"reexport": {
"type": "boolean",
"description": "Export everything again even though a finished run exists."
},
"max_pages": {
"type": "number",
"description": "Pages of up to 100 records per call. Default 20."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"data_api_token": {
"type": "string",
"description": "The source app's Data API token. Needed on the first call; sealed in the job."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
},
"max_requests_per_minute": {
"type": "number",
"description": "Throttle for the source app. Default 60."
}
},
"additionalProperties": false
}| r2_bucket | string | An R2 bucket in that account, for staging and schema files. |
| url_prefix | string | Prefix for rewritten text links. Default /files/. |
| allow_hosts | array | Extra hosts to copy from, for example images.example.com. Links to other hosts are listed, not copied. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| retry_failed | boolean | Try again the files that failed or were skipped earlier. |
| rewrite_text | boolean | Also replace links inside text values with url_prefix plus the new key. Originals go to text_url_backup. Default false. |
| cf_account_id | string | The customer's Cloudflare account id. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"bucket": {
"type": "string",
"description": "R2 bucket for the files. Default: the staging bucket."
},
"job_id": {
"type": "string"
},
"rewrite": {
"type": "boolean",
"description": "Fill the key columns once a file is copied. Default true."
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"max_bytes": {
"type": "number",
"description": "Largest file to copy. Default 50 MB."
},
"max_files": {
"type": "number",
"description": "Files per call. Default 15."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"url_prefix": {
"type": "string",
"description": "Prefix for rewritten text links. Default /files/."
},
"allow_hosts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Extra hosts to copy from, for example images.example.com. Links to other hosts are listed, not copied."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"retry_failed": {
"type": "boolean",
"description": "Try again the files that failed or were skipped earlier."
},
"rewrite_text": {
"type": "boolean",
"description": "Also replace links inside text values with url_prefix plus the new key. Originals go to text_url_backup. Default false."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| cf_api_token |
| string |
| A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| max_requests | number | D1 queries per call. Default 60. |
| cf_account_id | string | The customer's Cloudflare account id. |
| truncate_first | boolean | Empty the target tables before loading. Needs confirm_overwrite. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| confirm_overwrite | boolean | Confirms that existing rows in the target may be overwritten or removed. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"mode": {
"enum": [
"upsert"
],
"type": "string",
"description": "Upsert by id (the only mode in v1)."
},
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Data type keys to load. Default: all exported types."
},
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"reprocess": {
"type": "boolean",
"description": "Run every staged object again, for example after a schema change. Rows that already match change nothing."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"max_requests": {
"type": "number",
"description": "D1 queries per call. Default 60."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"truncate_first": {
"type": "boolean",
"description": "Empty the target tables before loading. Needs confirm_overwrite."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"confirm_overwrite": {
"type": "boolean",
"description": "Confirms that existing rows in the target may be overwritten or removed."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| page_types | object | Old page key to the data type it shows, when the name does not say. |
| id_slug_map | object | { type: { bubble id: slug } }. Default: read from the loaded slug columns. |
| page_routes | object | Old page key to its new route. A route with :slug or :id takes one thing, for example /rooms/:slug. |
| sitemap_url | string | The old app's sitemap.xml (a sitemap index is followed). |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"app_spec": {
"type": "object",
"description": "app-spec.json, for the page list. Default: the one given to nc_audit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"new_base": {
"type": "string",
"description": "Origin of the new app for the expected Location, for example https://www.example.com. Default: the old URL's own origin."
},
"url_list": {
"type": "array",
"items": {
"type": "string"
},
"description": "Old URLs, absolute or paths."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"page_types": {
"type": "object",
"description": "Old page key to the data type it shows, when the name does not say."
},
"id_slug_map": {
"type": "object",
"description": "{ type: { bubble id: slug } }. Default: read from the loaded slug columns."
},
"page_routes": {
"type": "object",
"description": "Old page key to its new route. A route with :slug or :id takes one thing, for example /rooms/:slug."
},
"sitemap_url": {
"type": "string",
"description": "The old app's sitemap.xml (a sitemap index is followed)."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| string |
| Name of the D1 database to create or reuse, for example nc-sharehousehub-staging. |
| max_statements | number | Statements to run per call when applying. Default 100. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"apply": {
"type": "boolean",
"description": "Create the database and run the migrations. Default false: only generate the files."
},
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"database_name": {
"type": "string",
"description": "Name of the D1 database to create or reuse, for example nc-sharehousehub-staging."
},
"max_statements": {
"type": "number",
"description": "Statements to run per call when applying. Default 100."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| string |
| Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string"
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"strategy": {
"enum": [
"magic_link",
"reset_email"
],
"type": "string",
"description": "How users sign in the first time. Default magic_link."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
}
},
"additionalProperties": false
}| string |
| An R2 bucket in that account, for staging and schema files. |
| skip_source | boolean | Do not count the source's records (no token). Counts are then compared with what the export reported. |
| cf_api_token | string | A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. |
| cf_account_id | string | The customer's Cloudflare account id. |
| data_api_token | string | The source app's Data API token, if it is not held for this job any more. |
| r2_access_key_id | string | Access key id of an R2 API token that can read and write that bucket. |
| r2_secret_access_key | string | Its secret. Sealed in the job, deleted when it ends. |
| accept_unmapped_files | boolean | Accept that some rows keep a source file URL with no copy (links to other hosts, files that could not be copied). Without it they fail the verification. |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Data type keys to verify. Default: all."
},
"job_id": {
"type": "string"
},
"sample": {
"type": "number",
"description": "Records to checksum per type. Default 500."
},
"restart": {
"type": "boolean",
"description": "Start a new verification instead of continuing the open one."
},
"upgrade": {
"type": "boolean",
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit."
},
"go_ahead": {
"type": "boolean",
"description": "Set true once the owner has seen the estimate and agreed to the charge. Needed on the first call of a paid stage, and again after a pass has expired."
},
"max_cost": {
"type": "number",
"description": "Work per call. Default 120."
},
"r2_bucket": {
"type": "string",
"description": "An R2 bucket in that account, for staging and schema files."
},
"skip_source": {
"type": "boolean",
"description": "Do not count the source's records (no token). Counts are then compared with what the export reported."
},
"cf_api_token": {
"type": "string",
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends."
},
"cf_account_id": {
"type": "string",
"description": "The customer's Cloudflare account id."
},
"data_api_token": {
"type": "string",
"description": "The source app's Data API token, if it is not held for this job any more."
},
"r2_access_key_id": {
"type": "string",
"description": "Access key id of an R2 API token that can read and write that bucket."
},
"r2_secret_access_key": {
"type": "string",
"description": "Its secret. Sealed in the job, deleted when it ends."
},
"accept_unmapped_files": {
"type": "boolean",
"description": "Accept that some rows keep a source file URL with no copy (links to other hosts, files that could not be copied). Without it they fail the verification."
}
},
"additionalProperties": false
}