Skip to content

Commit 5f27359

Browse files
committed
MongoDB脚本文件存档
1 parent 27f9a75 commit 5f27359

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/*
2+
Navicat Premium Data Transfer
3+
4+
Source Server : MongoDB
5+
Source Server Type : MongoDB
6+
Source Server Version : 60002
7+
Source Host : 124.222.133.47:27017
8+
Source Schema : yyflight_todolist
9+
10+
Target Server Type : MongoDB
11+
Target Server Version : 60002
12+
File Encoding : 65001
13+
14+
Date: 26/02/2023 17:05:28
15+
*/
16+
17+
18+
// ----------------------------
19+
// Collection structure for yyflight_todolist_content
20+
// ----------------------------
21+
db.getCollection("yyflight_todolist_content").drop();
22+
db.createCollection("yyflight_todolist_content");
23+
24+
// ----------------------------
25+
// Documents of yyflight_todolist_content
26+
// ----------------------------
27+
db.getCollection("yyflight_todolist_content").insert([ {
28+
_id: ObjectId("63fb20299b4f000077004c65"),
29+
UserID: "63949e2d9f602f6bdcc35208",
30+
Content: "今天任务熟记100个英语单词",
31+
ExpirationTime: ISODate("2023-02-10T14:56:45.531Z"),
32+
Isremind: true,
33+
RemindTime: 1,
34+
CompleteStatus: 0,
35+
CreateDate: ISODate("2023-02-10T14:56:45.531Z"),
36+
UpdateDate: ISODate("2023-02-10T14:56:45.531Z")
37+
} ]);
38+
39+
// ----------------------------
40+
// Collection structure for yyflight_todolist_updatelog
41+
// ----------------------------
42+
db.getCollection("yyflight_todolist_updatelog").drop();
43+
db.createCollection("yyflight_todolist_updatelog");
44+
45+
// ----------------------------
46+
// Documents of yyflight_todolist_updatelog
47+
// ----------------------------
48+
db.getCollection("yyflight_todolist_updatelog").insert([ {
49+
_id: ObjectId("63fb20c29b4f000077004c66"),
50+
UpdateContent: "系统界面优化升级",
51+
CreateDate: ISODate("2023-02-10T14:56:45.531Z"),
52+
UpdateDate: ISODate("2023-02-10T14:56:45.531Z")
53+
} ]);
54+
55+
// ----------------------------
56+
// Collection structure for yyflight_todolist_user
57+
// ----------------------------
58+
db.getCollection("yyflight_todolist_user").drop();
59+
db.createCollection("yyflight_todolist_user");
60+
61+
// ----------------------------
62+
// Documents of yyflight_todolist_user
63+
// ----------------------------
64+
db.getCollection("yyflight_todolist_user").insert([ {
65+
_id: ObjectId("63fb1dfa9b4f000077004c64"),
66+
UserName: "admin123",
67+
Password: "E10ADC3949BA59ABBE56E057F20F883E",
68+
NickName: "Edwin",
69+
HeadPortrait: "https://images.cnblogs.com/cnblogs_com/Can-daydayup/1976329/o_210517164541myMpQrcode.png",
70+
71+
Status: 1,
72+
CreateDate: ISODate("2023-02-10T14:56:45.531Z"),
73+
UpdateDate: ISODate("2023-02-10T14:56:45.531Z")
74+
} ]);

0 commit comments

Comments
 (0)