Skip to content

Commit

Permalink
backup-container-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaytkbabu committed Jul 12, 2024
1 parent b8b7d57 commit 24c9bd8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ See `user.ts` and `document.ts` for examples of the differences.

The `toPrismaModel` and `fromPrismaModel` functions are used to convert Prisma database models to application `src/types/` and vice versa. These functions should only ever be used in the application service layer.

## Update Backup Container

Follow the outlined steps [here](https://github.com/bcgov/nr-permitconnect-navigator-service/wiki/Database-Backup-and-Restore#updating-the-backup-container-version).

## Recovery Database

Follow the outlined steps [here](https://github.com/bcgov/nr-permitconnect-navigator-service/wiki/Database-Backup-and-Restore#recovery).

## Future Considerations

Consider the use of namespaces/modules to wrap particular sections of the application. As more initiatives are added to the system there will be naming conflicts.

0 comments on commit 24c9bd8

Please sign in to comment.