Skip to content

Commit

Permalink
refactor: add database setup commands to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rokartur committed May 25, 2024
1 parent 3f13e94 commit 7d468ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ FitPlan Connect is a scheduling app that has earned recognition as one of the be
OAUTH_REDIRECT_URI="http://localhost/api/oauth/callback"
DB_URL="postgresql://user:password@host:port/database"
```
9. Setup database with the following command:
```bash
bun run db:generate
bun run db:migrate
```
10. For the database preview you can use the following command:
```bash
bun run db:studio
```

## Database Schema

Expand Down

0 comments on commit 7d468ba

Please sign in to comment.