Skip to content

Commit 474c544

Browse files
chore: changed all db:pushs to db:migrates (#1151)
1 parent 4673032 commit 474c544

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191

9292
- name: Seed database
9393
run: |
94-
npm run db:push
94+
npm run db:migrate
9595
npm run db:seed
9696
9797
- name: Run Playwright tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For a more detailed how to guide on setting them up [go to the Environment Varia
4848
6. Setup the tables in the database with Drizzle by running:
4949

5050
```bash
51-
npm run db:push
51+
npm run db:migrate
5252
```
5353

5454
The full command can be seen in our [package.json](/package.json#16) file

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ read -p "Copy and past your auth callback url here: " URL
2020

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

2525
# Create .env file
2626
echo "DATABASE_URL=postgresql://postgres:[email protected]:5432/postgres" > .env
2727
echo "GITHUB_ID=$GITHUB_ID" >> .env
2828
echo "GITHUB_SECRET=$GITHUB_SECRET" >> .env
29-
echo "NEXTAUTH_URL=$URL" >> .env
29+
echo "NEXTAUTH_URL=$URL" >> .env

0 commit comments

Comments
 (0)