Skip to content

DOCSP-49405 insurance data models#256

Closed
ajhuh-mdb wants to merge 15 commits intomongodb:masterfrom
ajhuh-mdb:DOCSP-49405-insurance-data-models
Closed

DOCSP-49405 insurance data models#256
ajhuh-mdb wants to merge 15 commits intomongodb:masterfrom
ajhuh-mdb:DOCSP-49405-insurance-data-models

Conversation

@ajhuh-mdb
Copy link
Collaborator

@ajhuh-mdb ajhuh-mdb commented May 28, 2025

DESCRIPTION

Migrates this DevCenter tutorial to the Relational Migrator docs.

STAGING

https://deploy-preview-256--docs-relational-migrator.netlify.app/mapping-rules/example-insurance-data/

JIRA

https://jira.mongodb.org/browse/DOCSP-49405

BUILD LOG

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Is this free of spelling errors?
  • Is this free of grammatical errors?
  • Is this free of staging / rendering issues?
  • Are all the links working?

External Review Requirements

What's expected of an external reviewer?

@netlify
Copy link

netlify bot commented May 28, 2025

Deploy Preview for docs-relational-migrator ready!

Name Link
🔨 Latest commit 6db3363
🔍 Latest deploy log https://app.netlify.com/projects/docs-relational-migrator/deploys/6846ff8f5e3b660008305cab
😎 Deploy Preview https://deploy-preview-256--docs-relational-migrator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 31 (🔴 down 49 from production)
Accessibility: 92 (🔴 down 6 from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Collaborator

@mmaville-mdb mmaville-mdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I mentioned the error I was having with the actual migration that I will continue to look into, but we can always pull in dev if we are still experieincing this issue.

Left some small edits and worth mentioning that we'll want to modify all of the refactoring steps with the MongoDB view GUI label text.


.. code-block::

CREATE USER istadmin WITH PASSWORD `<password>`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backticks throw syntax error, replace with single quotes '


.. code-block::

psql -h <host> -p <port> -U <user>-d mongodb_insurance_model -c "SELECT * FROM pg_catalog.pg_tables WHERE schemaname='omg';"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a space between <user> -d


.. step:: Connect to Relational Migrator

Connect your PostgreSQL database to {+rel-mig}+}. See
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Malformed ref to migrator, the rest look good!


.. step:: Connect to your PostgreSQL database

Click the :guilabel:`Connect to Database` button and select
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Button is labeled Connect database.

Click the :guilabel:`Connect to Database` button and select
:guilabel:`PostgreSQL` in the drop-down menu. Enter the connection
details for your PostgreSQL instance, including the host, port,
user, and password.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to specify the DB as well, otherwise it appeared to look for a DB using my username.


.. step:: Add mappings for the claim_party_role table

Next to :guilabel:`Mappings to MongoDB Model`, click :guilabel:`Add`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the MongoDB view, this text is Mappings from relational tables. Applies to steps throughout since the tutorial takes place in the MongoDB view.

@ajhuh-mdb
Copy link
Collaborator Author

Just a heads up @mmaville-mdb, with the monorepo migration, we've moved these changes to this PR: https://github.com/10gen/docs-mongodb-internal/pull/12407

@ajhuh-mdb ajhuh-mdb closed this Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants