Skip to content

Commit

Permalink
Remove typeorm #147
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Aug 25, 2024
1 parent 47a626e commit 1fec0ba
Show file tree
Hide file tree
Showing 18 changed files with 62 additions and 846 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Configuration for development.
```
4. Run migrations:
```shell script
docker compose run app npm run typeorm migration:run
docker compose run app npm run mikroorm migration:up
```
5. Create user with google (check oauth2 section). It's to get a token from google and it allow you to use the endpoint /api/v1/auth/login to log in to the application.

Expand All @@ -26,18 +26,6 @@ After running docker compose up the application will be available at https://loc

### Migrations

#### TypeOrm

To generate migrations run the next command:
```shell script
docker compose run app npm run typeorm migration:generate migrationName
```

To execute migrations run the next command:
```shell script
docker compose run app npm run typeorm migration:run
```

#### MikroOrm

To generate migrations run the next command:
Expand Down
Loading

0 comments on commit 1fec0ba

Please sign in to comment.