initial OIDC setup

This commit is contained in:
2024-02-14 16:07:55 +01:00
parent ff1be126fe
commit e7ed39dc51
28 changed files with 226 additions and 373 deletions
-15
View File
@@ -1,15 +0,0 @@
import mongoose from 'mongoose';
const PaymentSchema= new mongoose.Schema(
{
payee: {type: String, required: true},
amount: {type: Number, required: true},
for_self: {type: Number},
for_other: {type: Number},
description: {type: String},
added_by: {type: String},
date: {type: Date, required: true, default: Date.now},
}, {timestamps: true}
);
export const Payment = mongoose.model("Payment", PaymentSchema);