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

Data base schema changes #23

Open
wants to merge 15 commits into
base: f24
Choose a base branch
from

Conversation

sarrakhelifi-cmu
Copy link

This pull request introduces changes to the database and post creation logic to support a new feature allowing users to post anonymously
Changes:
Added a new constant: isAnonymous, which takes a boolean value. This constant will determine whether a post is created as anonymous or not.
Updated post handling: If isAnonymous is true, the post will be attributed to a generic "Anonymous" user. Otherwise, it will use the actual user's data.
Integrated anonymous posting logic: Modified the post data flow to ensure posts marked as anonymous do not display the original user’s information. Instead, the user is replaced with a predefined "Anonymous" username and display name.
Database adjustments: Updated the schema and internal logic to accommodate the anonymous flag and ensure compatibility with existing functionality.

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.

5 participants