-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Remove Table: day_of_week from ERD & sheet #60
Comments
In the past we've discussed having day_of_week being an enum rather than its own table. Both PostgreSQL and django allow for enums. The one use of day_of_week in the spreadsheet (from recurring_event) has the description "enumerated field". |
|
Task
|
day_of_week is also used for user_availability, not just events Additional info: Do we want to remove this table and replace it with an enum? |
Just a quick comment. There's also this package that's basically a toggle selection of 0 or more weekdays. I assume the goal of the user_availability is to select a number of weekdays. Here's where it gets long: But, on the other hand, this might not even be enough since it should probably be a weekdays+times-of-day selection. I'm not sure if there's an existing solution for this. A lot of meeting coordinating services like lettucemeet have a "drag to select time range" UI. I think we want to have a backend that can store that data in a weekly sense. Or should it be something where the user selects times for each week separately, using actual dates rather than weekdays? This is actually the way it's done in apps I've seen. I think we should ask the stakeholders what they're planning to do and what they need. |
About the user_availability table #79 : |
You're right. I think a general same time each week is good too since it's how we do meeting schedule here. The only thing is there might be timezone complications that's taken care of in the other case. Maybe a little research will turn up a good solution, maybe as simple as converting all this into GMT and apply the timezones at display time only. After your clarification. I see that the enumeration type like you say would be more fitting. |
|
adding this item to next meeting agenda 9/21/23 breakout with fang & Nicole. |
We removed day_of_week table from the ERD and spreadsheet. We've given #79 a dependency on the event table so that we'll have a better idea of how we're dealing with the days of the week. |
Overview
We need to create the day_of_week table so that we can update a shared data store across hackforla.org, vrms, civictechjobs, and tables (onboarding) project.
Details
A table and a model are the same thing
Action Items
Remove table actions
Resources/Instructions
Description
N/A
Data Fields
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
No data fields found in spreadsheet!
In ERD only (having items here indicates a mismatch, which requires a review)
Associated Tables
The text was updated successfully, but these errors were encountered: