Skip to content

Commit fda4acb

Browse files
committed
update README file
1 parent 656d50c commit fda4acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Run the script with the following command:
4343
```bash
4444
python migrate.py
4545
```
46-
The script will connect to the MongoDB database, iterate over all collections, It then connects to the MySQL server, **drops the existing database if it exists**, and creates a new one. For each MongoDB collection, the script creates a corresponding table and column with **snake_case** names based on the MongoDB collections' structure, and insert data accordingly. It skips the `_id` and `_class` columns.
46+
The script will connect to the MongoDB database, iterate over all collections, It then connects to the MySQL server, **drops the existing database if it exists**, and creates a new one. For each MongoDB collection, the script creates a corresponding table and column with **snake_case** names based on the MongoDB collections' structure, and insert data accordingly. It skips the `_id` and `_class` columns during table creation and data insertion based on the configuration settings `SKIP_ID_FIELD` and `SKIP_CLASS_FIELD` respectively.
4747
4848
## Note
4949
This script assumes that the MongoDB and MySQL servers are running on localhost. If your servers are running on different hosts, update the host information in the database credentials.

0 commit comments

Comments
 (0)