Skip to content

Commit

Permalink
chore(migrations): rename and update edge worker migration file
Browse files Browse the repository at this point in the history
Update migration file name and documentation references to match new filename, ensuring consistent
migration setup for edge worker
  • Loading branch information
jumski committed Jan 21, 2025
1 parent ef18d44 commit 67d91e0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
File renamed without changes.
Empty file.
2 changes: 1 addition & 1 deletion pkgs/pgflow.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<supabase-dir>` 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 <supabase-dir>/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:
Expand Down

0 comments on commit 67d91e0

Please sign in to comment.