Skip to content

Commit 77c12f9

Browse files
authored
Merge pull request #3 from mongodb-developer/load-sql-file-option
Load sql file option
2 parents 60c8c58 + 7715fe3 commit 77c12f9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/20-prerequisites.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ docker run -p 5432:5432 sample-postgres-library
3838
```
3939
The PostgreSQL server can be accessed at localhost:5432 with a username of `postgres` and a password of `postgres`.
4040

41+
### Option 4: Load an SQL file
42+
Choose this option if you just want a quick hands-on experience and you don't need to run actual migration.
43+
Download the file [library-schema.sql](https://github.com/mongodb-developer/relational-migrator-lab/blob/main/resource/library-schema.sql)
44+
and upload this file later on at the **create a project** step. However, you will not be able to perform an actual migration if you not have a source database.
45+
4146
## 2. MongoDB Database
4247

4348
As we'll be importing data from a Relational Database into MongoDB, you'll need to have a MongoDB database. You have a

docs/50-Create a Project/50-create-new-project.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Ensure Relational Migrator is installed and running (normally at http://127.0.0.
1111

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

14-
## Click Connect to live database
14+
## Select an option
15+
1. Click **Connect to live database**
16+
2. Click **Load schema from a file** if you NOT have access to a source database.
1517

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

0 commit comments

Comments
 (0)