randydev commited on
Commit
1c60f9c
·
verified ·
1 Parent(s): e2bfdcd

Update models.js

Browse files
Files changed (1) hide show
  1. models.js +1 -1
models.js CHANGED
@@ -1,7 +1,7 @@
1
  import mongoose from "mongoose";
2
 
3
  const apiKeySchema = new mongoose.Schema({
4
- api_keys: { type: String, required: true, unique: true },
5
  owner: { type: Number, required: true, unique: true },
6
  is_banned: { type: Boolean, default: false },
7
  email: { type: String },
 
1
  import mongoose from "mongoose";
2
 
3
  const apiKeySchema = new mongoose.Schema({
4
+ key: { type: String, required: true, unique: true },
5
  owner: { type: Number, required: true, unique: true },
6
  is_banned: { type: Boolean, default: false },
7
  email: { type: String },