Skip to content

Conversation

@david
Copy link
Owner

@david david commented Jul 30, 2025

This pull request implements the prayer request visibility feature, allowing users to create private, organization-wide, or group-only prayer requests.

Closes #30

@david david force-pushed the feature/prayer-visibility branch 3 times, most recently from 2763ec7 to a80a301 Compare July 30, 2025 18:52
@david
Copy link
Owner Author

david commented Jul 30, 2025

Please add some groups to seeds.ex and put a couple of users in them (but leave at least one user outside any group).

@david
Copy link
Owner Author

david commented Jul 30, 2025

This code makes the fixture quite confusing. Let's chat about it.

You're right, this is a bit of a tangled mess. I'm happy to jump on a call and refactor it with you.

@david david force-pushed the feature/prayer-visibility branch 2 times, most recently from 4ffda91 to a220911 Compare August 2, 2025 11:20
david and others added 11 commits August 2, 2025 12:49
This commit establishes the database schema and Ecto associations required to link users and groups.

A `groups_users` join table is created to manage the many-to-many relationship. The `User` and `Group` schemas are updated with the corresponding `many_to_many` associations.

Fixtures are adjusted to allow for easier creation of test data involving groups and their members.
@david david force-pushed the feature/prayer-visibility branch from 9877d32 to 3140b1c Compare August 2, 2025 11:49
@david david merged commit a2e28cb into main Aug 2, 2025
1 check failed
@david david deleted the feature/prayer-visibility branch August 2, 2025 11:49
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.

Let users choose who a prayer request is visible to.

2 participants