inmemory to postgres
This commit is contained in:
@@ -21,4 +21,10 @@ export interface Prize {
|
||||
awardedTo?: string;
|
||||
awardedAt?: Date;
|
||||
createdAt: Date;
|
||||
}
|
||||
}
|
||||
|
||||
export const Prize = {
|
||||
rehydrate(props: Prize): Prize {
|
||||
return { ...props };
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user