{"size": 315, "ext": "js", "max_stars_repo_path": "api/models/Iot.js", "max_stars_repo_name": "DarkSchokolade/HeavensDoor", "max_stars_repo_stars_event_min_datetime": "2021-06-12T04:39:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-12T17:28:48.000Z", "max_issues_repo_path": "api/models/Iot.js", "max_issues_repo_name": "DarkSchokolade/HeavensDoor", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/models/Iot.js", "max_forks_repo_name": "DarkSchokolade/HeavensDoor", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.2307692308, "max_line_length": 57, "alphanum_fraction": 0.6476190476}
const mongoose = require('mongoose');

const IotSchema = mongoose.Schema(
  {
    IOT_ID: { type: String, required: true },
    discordID: { type: String, default: 'UNREGISTERED' },
    status: { type: String, default: 'Inactive' },
  },
  { minimize: false }
);

module.exports = mongoose.model('Iot', IotSchema);
