remove Users from db
This commit is contained in:
parent
2b6499e602
commit
db391bc383
@ -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);
|
Loading…
Reference in New Issue
Block a user