Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typos corrected and added some explanations #8

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

hkey0
Copy link
Contributor

@hkey0 hkey0 commented Dec 26, 2023

Minor typos corrected and explanations added.

README.md Outdated
@@ -18,9 +18,9 @@ Sinker is built by [Paradigm](https://www.paradigm.xyz/), and is licensed under

In Postgres, you might have a normalized schema like this:

- A Student and a Teacher refer to a Person
- A Student and a Teacher refers to a Person
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is correct as is

README.md Outdated
- A Course is taught by a Teacher
- Students have and belong to many Courses through the Enrollment join table
- Students have taken and belong to many Courses through the Enrollment join table
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd prefer to keep this language as HABTM is a standard way to indicate a many-to-many relationship.

README.md Outdated
@@ -78,7 +78,7 @@ Sinker creates triggers on the Postgres tables that you want to synchronize (e.g
above). When a row is inserted, updated, or deleted in any of these tables, the trigger schedules the materialized view
to be refreshed at the next interval.

The changes to the materialized view are sent to a logical replication slot. Sinker reads from this slot and indexes the
The changes into the materialized view are sent to a logical replication slot. Sinker reads from this slot and indexes the
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think "changes to" is correct as is.

@@ -331,7 +331,7 @@ Spin up Postgres and Elasticsearch:
docker-compose --env-file=.env.test up -d
```

Run tests:
Run tests (with -s option to allow more verbose output):
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8e31bb1) 95.12% compared to head (8e8b5a8) 95.12%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   95.12%   95.12%           
=======================================
  Files           8        8           
  Lines         246      246           
=======================================
  Hits          234      234           
  Misses         12       12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hkey0
Copy link
Contributor Author

hkey0 commented Dec 31, 2023

Thank you for your attention. I have made the requested corrections. Thanks again :)

Copy link
Collaborator

@loren loren left a comment

Choose a reason for hiding this comment

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

thank you for contributing!

@loren loren merged commit 3165361 into paradigmxyz:main Jan 2, 2024
4 checks passed
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.

3 participants