Add authorization
This commit is contained in:
12
src/tenant/tenant.schema.ts
Normal file
12
src/tenant/tenant.schema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import mongoose from "mongoose";
|
||||
|
||||
export const tenantModel = mongoose.model(
|
||||
"tenant",
|
||||
new mongoose.Schema({
|
||||
pid: String,
|
||||
name: String,
|
||||
avatar: String,
|
||||
createdAt: Date,
|
||||
deleted: Boolean,
|
||||
})
|
||||
);
|
||||
Reference in New Issue
Block a user