diff --git a/pkgs/edge-worker/migrations/000_initial.sql b/pkgs/edge-worker/migrations/000_edge_worker_initial.sql similarity index 100% rename from pkgs/edge-worker/migrations/000_initial.sql rename to pkgs/edge-worker/migrations/000_edge_worker_initial.sql diff --git a/pkgs/edge-worker/migrations/010_read_with_poll.sql b/pkgs/edge-worker/migrations/010_read_with_poll.sql deleted file mode 100644 index e69de29..0000000 diff --git a/pkgs/pgflow.dev/package.json b/pkgs/pgflow.dev/package.json index f496495..01f07ca 100644 --- a/pkgs/pgflow.dev/package.json +++ b/pkgs/pgflow.dev/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "astro dev", "start": "astro dev", - "copy-migrations": "cp ../edge-worker/migrations/000_initial.sql public/edge-worker/", + "copy-migrations": "cp ../edge-worker/migrations/000_edge_worker_initial.sql public/edge-worker/", "build": "npm run copy-migrations && astro check && astro build", "preview": "astro preview", "astro": "astro" diff --git a/pkgs/pgflow.dev/src/content/docs/edge-worker/prepare-environment.mdx b/pkgs/pgflow.dev/src/content/docs/edge-worker/prepare-environment.mdx index c356cea..55f667c 100644 --- a/pkgs/pgflow.dev/src/content/docs/edge-worker/prepare-environment.mdx +++ b/pkgs/pgflow.dev/src/content/docs/edge-worker/prepare-environment.mdx @@ -27,11 +27,10 @@ If not, see Supabase's [installation guide](https://supabase.com/docs/guides/cli 1. ### Install migration - Run this command to download the migration file to your project. - Replace `` with your project's `supabase/` directory path. + Run this command to download the migration file to your project (change `supabase/migrations` to your migrations folder): ```bash - wget -O /migrations/ https://pgflow.pages.dev/edge-worker/000_initial.sql + wget -P supabase/migrations https://pgflow.pages.dev/edge-worker/000_edge_worker_initial.sql ``` Then apply the migration: