-
Notifications
You must be signed in to change notification settings - Fork 109
/
changeset_with_contexts.xml
40 lines (40 loc) · 1.35 KB
/
changeset_with_contexts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<mongoChangeLog>
<changeSet changeId="ChangeSet-1" author="mlysaght" contexts="organizations">
<script>
db.organization.insert({
"Organization" : "10Gen",
"Location" : "NYC",
DateFounded : {"Year" : 2008, "Month" : 01, "day" :01}
});
db.organization.insert({
"Organization" : "SecondMarket",
"Location" : "NYC",
DateFounded : {"Year" : 2004, "Month" : 05, "day" :04}
});
</script>
</changeSet>
<changeSet changeId="ChangeSet-2" author="mlysaght" contexts="users">
<script>
db.user.insert({ "Name" : "Michael Lysaght"});
</script>
<script>
db.user.insert({ "Name" : "Oleksii Iepishkin"});
</script>
</changeSet>
<changeSet changeId="ChangeSet-3" author="exell">
<script>
db.car.insert({ "Type" : "Porsche"});
</script>
<script>
db.car.insert({ "Type" : "Lamborghini"});
</script>
</changeSet>
<changeSet changeId="ChangeSet-4" author="exell" contexts="users, organizations">
<script>
db.house.insert({ "Type" : "Bungalow"});
</script>
<script>
db.house.insert({ "Type" : "Split-Level"});
</script>
</changeSet>
</mongoChangeLog>