Title: Copy a Supabase database whose extensions or auth references the preflight doesn't name yet · Issue #186 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Copy a Supabase database whose extensions or auth references the preflight doesn't name yet · Issue #186 · cloudfall-dev/cloudfall
X Title: Copy a Supabase database whose extensions or auth references the preflight doesn't name yet · Issue #186 · cloudfall-dev/cloudfall
Description: Serves: G-3 Problem A Supabase database whose shape the data copy preflight doesn't name fails late, at pg_restore, with ENGINE_STEP_FAILED and a raw restore error instead of a data_copy_preflight_refused finding that says what to change...
Open Graph Description: Serves: G-3 Problem A Supabase database whose shape the data copy preflight doesn't name fails late, at pg_restore, with ENGINE_STEP_FAILED and a raw restore error instead of a data_copy_preflight_...
X Description: Serves: G-3 Problem A Supabase database whose shape the data copy preflight doesn't name fails late, at pg_restore, with ENGINE_STEP_FAILED and a raw restore error instead of a data_copy_prefli...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/186
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Copy a Supabase database whose extensions or auth references the preflight doesn't name yet","articleBody":"Serves: G-3\n\n## Problem\n\nA Supabase database whose shape the data copy preflight doesn't name fails late, at `pg_restore`, with `ENGINE_STEP_FAILED` and a raw restore error instead of a `data_copy_preflight_refused` finding that says what to change. The request names two shapes: \"An extension installed in an unselected schema\" (Supabase installs extensions in schema `extensions`, so `--source-schema public` dumps `CREATE EXTENSION ... WITH SCHEMA extensions`, which fails on a target without that schema) and \"`auth.` references beyond functions and policies\" (a foreign key to `auth.users`, a column `DEFAULT auth.uid()`, a view calling `auth.`) (#175). Both fail safe today: the restore rolls back whole.\n\n## Who is affected\n\nTeams leaving a PaaS (U-1) who move a Supabase or Neon database with `data copy`: the request comes from the review of the data copy schemas work (#171, #173), on the Supabase shapes the first real migration meets.\n\n## Evidence\n\n- #175 The data copy preflight doesn't name extensions in other schemas or auth references outside functions and policies, +1 0\n\n1 request, +1 0 as of 2026-10-30.\n\n## Success\n\nCopying a Supabase database with an extension in schema `extensions`, a foreign key to `auth.users`, a `DEFAULT auth.uid()` column, or a view calling `auth.` either succeeds or stops at the preflight with a finding naming the object, before any restore runs.\n\n## Notes\n\nBoth shapes change what spec S-007 (`docs/specs/007-data-copy-schemas.md`) specifies, so an accept means a revised or new spec first. The request leaves open whether an extension in an unselected schema is refused with a new finding or created in another schema. Related: #82, #125, #173.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-30T17:07:06Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/186"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10fcc779-8885-ac7f-61c5-e88b2b69611f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C502:1F67:5599B8:76BE48:6B0558A9 |
| html-safe-nonce | b418ad16549b6d40161effe71178c1c57cc00c8f8b2449b7583ff80a23111d5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTAyOjFGNjc6NTU5OUI4Ojc2QkU0ODo2QjA1NThBOSIsInZpc2l0b3JfaWQiOiI4ODI2NTkwNjIwNDA0NzY2ODkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ffbf4573a4f080becff0b84422d2e0d1c23a7f6e2ea6d747c36dcce9abc0568 |
| hovercard-subject-tag | issue:6123568189 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9116ceca339528bcf5daef8ca01a237888dce9693db0c4588d691ba8448c6e5d/cloudfall-dev/cloudfall/issues/186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9116ceca339528bcf5daef8ca01a237888dce9693db0c4588d691ba8448c6e5d/cloudfall-dev/cloudfall/issues/186 |
| og:image:alt | Serves: G-3 Problem A Supabase database whose shape the data copy preflight doesn't name fails late, at pg_restore, with ENGINE_STEP_FAILED and a raw restore error instead of a data_copy_preflight_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width