remove Users from db

This commit is contained in:
Alexander Bocken 2024-02-19 23:18:31 +01:00
parent 2b6499e602
commit db391bc383
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,12 +0,0 @@
import mongoose from 'mongoose';
const UserSchema = new mongoose.Schema(
{
username: {type: String, required: true, unique: true},
pass_hash: {type: String, required: true},
salt : {type: String, required: true},
access: [String], //rezepte, flims, abrechnung, ...
}, {timestamps: true}
);
export const User = mongoose.model("User", UserSchema);