32 lines
792 B
JavaScript
32 lines
792 B
JavaScript
|
/*
|
||
|
Navicat Premium Data Transfer
|
||
|
|
||
|
Source Server : mongodb-106
|
||
|
Source Server Type : MongoDB
|
||
|
Source Server Version : 50020
|
||
|
Source Host : 116.236.50.106:37027
|
||
|
Source Schema : cabinet_device
|
||
|
|
||
|
Target Server Type : MongoDB
|
||
|
Target Server Version : 50020
|
||
|
File Encoding : 65001
|
||
|
|
||
|
Date: 05/01/2024 16:30:04
|
||
|
*/
|
||
|
|
||
|
|
||
|
// ----------------------------
|
||
|
// Collection structure for IEMS2-AppConfig
|
||
|
// ----------------------------
|
||
|
db.getCollection("IEMS2-AppConfig").drop();
|
||
|
db.createCollection("IEMS2-AppConfig");
|
||
|
|
||
|
// ----------------------------
|
||
|
// Documents of IEMS2-AppConfig
|
||
|
// ----------------------------
|
||
|
db.getCollection("IEMS2-AppConfig").insert([ {
|
||
|
_id: "IEMS2",
|
||
|
appVersion: NumberInt("101"),
|
||
|
_class: "com.project.device.beans.AppBean"
|
||
|
} ]);
|