Skip to content

Commit

Permalink
chore: changed all db:pushs to db:migrates (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAllenTech authored Oct 18, 2024
1 parent 4673032 commit 474c544
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

- name: Seed database
run: |
npm run db:push
npm run db:migrate
npm run db:seed
- name: Run Playwright tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ For a more detailed how to guide on setting them up [go to the Environment Varia
6. Setup the tables in the database with Drizzle by running:

```bash
npm run db:push
npm run db:migrate
```

The full command can be seen in our [package.json](/package.json#16) file
Expand Down
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ read -p "Copy and past your auth callback url here: " URL

echo "- Nice, now open two terminals and run the following commands: "
echo "- Terminal 1) - docker-compose up "
echo "- Terminal 2) - npm db:push, npm db:seed, npm run dev "
echo "- Terminal 2) - npm db:migrate, npm db:seed, npm run dev "

# Create .env file
echo "DATABASE_URL=postgresql://postgres:secret@127.0.0.1:5432/postgres" > .env
echo "GITHUB_ID=$GITHUB_ID" >> .env
echo "GITHUB_SECRET=$GITHUB_SECRET" >> .env
echo "NEXTAUTH_URL=$URL" >> .env
echo "NEXTAUTH_URL=$URL" >> .env

0 comments on commit 474c544

Please sign in to comment.