Skip to content

Commit

Permalink
rename: pg-import
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-raj-jain committed May 29, 2024
1 parent 1c10fe1 commit 24f60ae
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 31 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/deprecate.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on MacOS for PostgreSQL 14
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG14 }} --destination ${{ secrets.DESTINATION_PG14 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG14 }} --destination ${{ secrets.DESTINATION_PG14 }}

migrate_macos_pg15:
runs-on: macos-latest
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on MacOS for PostgreSQL 15
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG15 }} --destination ${{ secrets.DESTINATION_PG15 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG15 }} --destination ${{ secrets.DESTINATION_PG15 }}

migrate_macos_pg16:
runs-on: macos-latest
Expand All @@ -38,4 +38,4 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on MacOS for PostgreSQL 16
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG16 }} --destination ${{ secrets.DESTINATION_PG16 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG16 }} --destination ${{ secrets.DESTINATION_PG16 }}
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on Ubuntu for PostgreSQL 14
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG14 }} --destination ${{ secrets.DESTINATION_PG14 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG14 }} --destination ${{ secrets.DESTINATION_PG14 }}

migrate_ubuntu_pg15:
runs-on: ubuntu-latest
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on Ubuntu for PostgreSQL 15
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG15 }} --destination ${{ secrets.DESTINATION_PG15 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG15 }} --destination ${{ secrets.DESTINATION_PG15 }}

migrate_ubuntu_pg16:
runs-on: ubuntu-latest
Expand All @@ -38,4 +38,4 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run migration on Ubuntu for PostgreSQL 16
run: npx @neondatabase/migrate-pg --accept-all true --source ${{ secrets.SOURCE_PG16 }} --destination ${{ secrets.DESTINATION_PG16 }}
run: npx @neondatabase/pg-import --accept-all true --source ${{ secrets.SOURCE_PG16 }} --destination ${{ secrets.DESTINATION_PG16 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A CLI tool for **migrating data from one PostgreSQL database to another**.
## Usage

```sh
npx @neondatabase/migrate-pg --silent false --accept-all false --source="pg-string" --destination="pg-string"
npx @neondatabase/pg-import --silent false --accept-all false --source="pg-string" --destination="pg-string"
```

### Flags and Options
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"main": "src/index.js",
"license": "Apache-2.0",
"name": "@neondatabase/migrate-pg",
"name": "@neondatabase/pg-import",
"description": "A CLI tool for migrating data from one PostgreSQL database to another.",
"bin": {
"migrate-pg": "bin/migrate.js"
Expand Down

0 comments on commit 24f60ae

Please sign in to comment.