Create concept of currency in the database #209
No reviewers
Labels
No labels
blocked
duplicate
needs criteria
needs estimate
question
requires documentation
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
epic
type
spike
type
story
type
subtask
won't fix
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 10 minutes
Due date
VylpesTester
10 minutes
No due date set.
Dependencies
No dependencies set.
Reference: External/card-drop#209
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/200-currency-db"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
#200
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration.
Checklist
@ -0,0 +7,4 @@
constructor(userId: string, currency: number) {
super();
this.UserId = userId;
Would it be worth having this as the main primary key ID? I can't see that not being unique
@ -0,0 +21,4 @@
this.Currency = currency;
}
public static async FetchOneByUserId(userId: string): Promise<User | null> {
We won't need this function then (as per above comment)