Skip to content

Commit

Permalink
fix: corrections in models
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDiazCorreia committed Dec 7, 2023
1 parent 05dc7fb commit e81ce5f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions pages/wallet-provider/ledger/models/balance-snapshot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Stores User token balance history
## Schema

- `id` : UUID
- `prevSnapshotId` : ID
- `prevSnapshotId` : UUID
- `amount` : BigInt
- `transactionId` : ID
- `transactionId` : UUID
- `eventId` : ID
- `delta` : BigInt
- `tokenId` : ID
- `tokenId` : UUID
- `accountId` : ID


Expand Down
4 changes: 2 additions & 2 deletions pages/wallet-provider/ledger/models/balance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Stores User current balance token balance for a user
## Schema

- `accountId` : ID
- `tokenId` : ID
- `snapshotId` : ID
- `tokenId` : UUID
- `snapshotId` : UUID
- `eventId` : ID

## Relations
Expand Down
2 changes: 1 addition & 1 deletion pages/wallet-provider/ledger/models/event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Stores UEvent list

## Schema

- `id` : UUID
- `id` : ID
- `signature` : String
- `author` : String
- `signer` : String
Expand Down
2 changes: 1 addition & 1 deletion pages/wallet-provider/ledger/models/token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Stores Token list

## Schema

- `id` : ID
- `id` : UUID
- `name` : String

## Relations
Expand Down
2 changes: 1 addition & 1 deletion pages/wallet-provider/ledger/models/transaction-type.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Declares Transaction types

## Schema

- `id` : ID
- `id` : UUID
- `description` : String

## Relations
Expand Down
4 changes: 2 additions & 2 deletions pages/wallet-provider/ledger/models/transaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ TRansactions with inputs and outputs

## Schema

- `id` : ID
- `transactionTypeId` : ID
- `id` : UUID
- `transactionTypeId` : UUID
- `payload` : JSON
- `eventId` : ID

Expand Down

0 comments on commit e81ce5f

Please sign in to comment.