Skip to content

Conversation

@olirice
Copy link
Contributor

@olirice olirice commented Aug 6, 2024

Creates a test script that can be used for evaluating if a pause/restore will work.

We should be able to execute it using

OLD_GIT_VERSION=47d598f6be65cd5b920ae807cf98c401ed5ae045
NEW_GIT_VERSION=47d598f6be65cd5b920ae807cf98c401ed5ae045

nix run github:supabase/nix-postgres#migration-test \
  $(nix build "github:supabase/nix-postgres/$OLD_GIT_VERSION#psql_15/bin") \
  $(nix build "github:supabase/nix-postgres/$NEW_GIT_VERSION#psql_15/bin") \
  pg_dumpall

but it is currently not functional. Opening as a draft so we can evaluate how to fix it

The error is

error: flake 'github:supabase/nix-postgres' does not provide attribute 'apps.aarch64-darwin.migration-test', 'packages.aarch64-darwin.migration-test', 'legacyPackages.aarch64-darwin.migration-test' or 'migration-test'

@olirice olirice closed this Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants