inmemory to postgres
This commit is contained in:
@@ -32,4 +32,10 @@ export interface Payment {
|
||||
status: PaymentStatus;
|
||||
createdAt: Date;
|
||||
completedAt?: Date;
|
||||
}
|
||||
}
|
||||
|
||||
export const Payment = {
|
||||
rehydrate(props: Payment): Payment {
|
||||
return { ...props };
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user