Skip to content

Commit a42cdab

Browse files
committed
Added correct styles
1 parent 588fbae commit a42cdab

12 files changed

+68
-65
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the Relational Migrator Lab used during Developer Days that covers using the Relational Migrator to import a PostgreSQL Database into MongoDB.
44

5-
You can access the online version on the Search Lab [here](https://mongodb-developer.github.io/relational-migrator-lab/)
5+
You can access the online version on the Relational Migrator Lab [here](https://mongodb-developer.github.io/relational-migrator-lab/)
66

77
## Contributing
88

Diff for: docs/110-edit-mapping-authors-alias.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import Screenshot from "@site/src/components/Screenshot";
33
# Edit mapping to authors collection (author_alias)
44

55

6-
- On the ERD, click authors
7-
- On the relational mappings list on the right, click on the edit icon of author_alias
8-
- Rename Field name to alias
9-
- In the list of fields, uncheck authorId
10-
- Check create array of primitive values
11-
- Click Save and close
6+
- On the ERD, click `authors`
7+
- On the relational mappings list on the right, click on the edit icon of `author_alias`
8+
- Rename Field name to `alias`
9+
- In the list of fields, uncheck `authorId`
10+
- Check `create array of primitive values`
11+
- Click `Save and close`
1212

1313
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/110-image-001.png" alt="Screenshot of the connect modal" />
1414

Diff for: docs/120-edit-mapping-authors-book.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import Screenshot from "@site/src/components/Screenshot";
33
# Edit mapping to authors collection (author_book)
44

55

6-
- On the ERD, click authors
7-
- On the relational mappings list on the right, click on the edit icon of author_book
8-
- Rename Field name to alias
9-
- In the list of fields, uncheck authorId
10-
- Check create array of primitive values
11-
- Click Save and close
6+
- On the ERD, click `authors`
7+
- On the relational mappings list on the right, click on the edit icon of `author_book`
8+
- Rename Field name to `alias`
9+
- In the list of fields, uncheck `authorId`
10+
- Check `create array of primitive values`
11+
- Click `Save and close`
1212

1313

1414
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/120-image-001.png" alt="Screenshot of the connect modal" />

Diff for: docs/130-edit-mapping-books-authors.mdx

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import Screenshot from "@site/src/components/Screenshot";
22

33
# Edit mapping to books collection (authors)
44

5-
- On the ERD, click books
6-
- On the relational mappings list on the right, click +Add
7-
- Select Embedded documents
8-
- Select authors as Source table
9-
- Check Merge fields into the parent
10-
- Rename id field to _id
11-
- Check name field and uncheck the rest
12-
- Click Save and close
13-
- We have embedded authors in the authorBooks field
5+
- On the ERD, click `books`
6+
- On the relational mappings list on the right, click `+Add`
7+
- Select `Embedded documents`
8+
- Select `authors` as Source table
9+
- Check `Merge fields into the parent`
10+
- Rename `id` field to `_id`
11+
- Check `name` field and uncheck the rest
12+
- Click `Save and close`
13+
- We have embedded `authors` in the `authorBooks` field
1414

1515

1616
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/130-image-001.png" alt="Screenshot of the connect modal" />

Diff for: docs/150-edit-mapping-books-book-attribute.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import Screenshot from "@site/src/components/Screenshot";
33
# Edit mapping to books collection (book_attribute)
44

55

6-
- On the ERD, click books
7-
- On the relational mappings list on the right, click on the edit icon of book_attribute
8-
- Rename Field name to attributes
9-
- Uncheck bookId
10-
- Click Save and close
6+
- On the ERD, click `books`
7+
- On the relational mappings list on the right, click on the edit icon of `book_attribute`
8+
- Rename `Field name` to `attributes`
9+
- Uncheck `bookId`
10+
- Click `Save and close`
1111

1212

1313
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/150-image-001.png" alt="Screenshot of the connect modal" />

Diff for: docs/160-edit-mapping-books-book-genre.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import Screenshot from "@site/src/components/Screenshot";
33
# Edit mapping to books collection (book_genre)
44

55

6-
- On the ERD, click books
7-
- On the relational mappings list on the right, click on the edit icon of book_genre
8-
- Rename Field name to genres
9-
- Check create array of primitive values
10-
- Uncheck bookId
11-
- Click Save and close
6+
- On the ERD, click `books`
7+
- On the relational mappings list on the right, click on the edit icon of `book_genre`
8+
- Rename `Field name` to `genres`
9+
- Check `create array of primitive values`
10+
- Uncheck `bookId`
11+
- Click `Save and close`
1212

1313

1414

Diff for: docs/170-edit-mapping-books-issue-detail.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import Screenshot from "@site/src/components/Screenshot";
44

55

66

7-
- On the ERD, click issueDetails
8-
- On the relational mappings list on the right, click +Add
9-
- Select Embedded documents
10-
- Select books as Source table
11-
- Rename id field to _id
12-
- Check title field and uncheck the rest
13-
- Click Save and close
14-
- We have embedded a book document in the book field
7+
- On the ERD, click `issueDetails`
8+
- On the relational mappings list on the right, click `+Add`
9+
- Select `Embedded documents`
10+
- Select `books` as Source table
11+
- Rename `id` field to `_id`
12+
- Check `title` field and uncheck the rest
13+
- Click `Save and close `
14+
- We have embedded a book document in the `book` field
1515

1616
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/170-image-001.png" alt="Screenshot of the connect modal" />
1717

Diff for: docs/180-edit-mapping-issue-detail-users.mdx

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import Screenshot from "@site/src/components/Screenshot";
44

55

66

7-
- On the ERD, click issueDetails
8-
- On the relational mappings list on the right, click +Add
9-
- Select Embedded documents
10-
- Select users as Source table
11-
- Rename id field to _id
12-
- Check name field and uncheck the rest
13-
- Click Save and close
7+
- On the ERD, click `issueDetails`
8+
- On the relational mappings list on the right, click `+Add`
9+
- Select `Embedded documents`
10+
- Select `users` as Source table
11+
- Rename `id` field to `_id`
12+
- Check `name` field and uncheck the rest
13+
- Click `Save and close`
1414
- We have embedded a user document in the user field
1515

1616

Diff for: docs/190-edit-mapping-issue-detail-issue-detail.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import Screenshot from "@site/src/components/Screenshot";
55

66

77

8-
- On the ERD, click books
9-
- On the relational mappings list on the right, click on the edit icon of issue_details
10-
- Check all fields except bookId and userId
11-
- Click Save and close
8+
- On the ERD, click `books`
9+
- On the relational mappings list on the right, click on the edit icon of `issue_details`
10+
- Check all fields except `bookId` and `userId`
11+
- Click `Save and close`
1212

1313

1414

Diff for: docs/200-edit-mapping-reviews-user copy.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import Screenshot from "@site/src/components/Screenshot";
22

33
# Edit mapping to reviews collection (users)
44

5-
- On the ERD, click reviews
6-
- On the relational mappings list on the right, click +Add
7-
- Select Embedded documents
8-
- Select users as Source table
9-
- Check Merge fields into the parent with root as the Prefix
10-
- Rename id field to _id
11-
- Only check name field
12-
- Click Save and close
5+
- On the ERD, click `reviews`
6+
- On the relational mappings list on the right, click `+Add`
7+
- Select `Embedded documents`
8+
- Select `users` as Source table
9+
- Check `Merge fields into the parent with root as the Prefix`
10+
- Rename `id` field to `_id`
11+
- Only check `name` field
12+
- Click `Save and close `
1313
- We have embedded a user document at the root level
1414

1515

Diff for: docs/210-migration.mdx

+7-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ import Screenshot from "@site/src/components/Screenshot";
33
# Migration
44

55
- At the top, switch to Data Migration tab
6-
- Click create sync job
7-
- Add source DB connection details
8-
- Add MongoDB connection details
9-
- Run Start
106

117
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/210-image-001.png" alt="Screenshot of the connect modal" />
128

9+
- Click create sync job
10+
- Add source DB connection details
11+
1312
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/210-image-002.png" alt="Screenshot of the connect modal" />
1413

14+
- Add MongoDB connection details
15+
1516
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/210-image-003.png" alt="Screenshot of the connect modal" />
1617

18+
- Run Start
19+
1720
<Screenshot url="https://www.mongodb.com/products/tools/relational-migrator" src="img/210-image-004.png" alt="Screenshot of the connect modal" />

Diff for: docs/90-project-settings.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Screenshot from "@site/src/components/Screenshot";
44

55

66
- On the top left, click settings icon
7-
- Select single inherited primary key. This detects the primary key from the relational schema and sets them as the _id in MongoDB
7+
- Select single inherited primary key. This detects the primary key from the relational schema and sets them as the `_id` in MongoDB
88
- Optionally, toggle Suggested Mappings on and off.
99

1010

0 commit comments

Comments
 (0)