⚙️ Atualização local para GPI - Sync via Antigravity
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import mongoose, { Schema, Document } from 'mongoose';
|
||||
|
||||
export interface IOrganization extends Document {
|
||||
clerkId: string;
|
||||
organizationId: string;
|
||||
name?: string;
|
||||
isBanned: boolean;
|
||||
createdAt: Date;
|
||||
@@ -9,7 +9,7 @@ export interface IOrganization extends Document {
|
||||
}
|
||||
|
||||
const OrganizationSchema: Schema = new Schema({
|
||||
clerkId: { type: String, required: true, unique: true, index: true },
|
||||
organizationId: { type: String, required: true, unique: true, index: true },
|
||||
name: { type: String },
|
||||
isBanned: { type: Boolean, default: false },
|
||||
}, { timestamps: true });
|
||||
|
||||
Reference in New Issue
Block a user