generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
complexity: missingdraftThis issue is not fully-writtenThis issue is not fully-writtenfeature: table creationp-feature: eventsrole: back ends: CTJstakeholder: Civic Tech Jobsstakeholder: Civic Tech Jobss: VRMSstakeholder: VRMSstakeholder: VRMSs: hackforla.orgstakeholder: hackforla.org websitestakeholder: hackforla.org websites: kbstakeholder: knowledgebasestakeholder: knowledgebases: tablessize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Description
Overview
We need to create the EventOccurrence 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
- Identify and document (below) what other tables are associated (see ERD under Resources)
- Create a single model in Django (defining schema)
- Write a test for the relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project).
- Write an API end point
- Write API unit tests
- Document the endpoint in Redocs
Resources/Instructions
- See People Depot Resources wiki page for links
- ERD
- Spreadsheet: PD: Table and field explanations, Current Field Permission tab
- API Endpoint
- See this Wiki page for instructions on the data-gathering workflow for Create Table issues
- [ADD ANY OTHER RESOURCES/INSTRUCTIONS]
Items to document (referenced above)
- [ADD ITEMS TO DOCUMENT]
Description
- [ADD DESCRIPTION]
Data Fields
- Copied from spreadsheet and confirmed according to ERD
| Name | Type | FK Table | FK Table Issue(s) |
|---|---|---|---|
| event | UUID | event | #14 #173 |
| start_time | DateTimeField | ||
| previous_version | UUID | event | #14 #173 |
| changes | UUID | eventoccurancechange | #614 |
FK status
- Create Table: recurring_event #14
- Update Table: recurring_event (rename to event) #173
- Create Table: Event Occurence Change #614
Swagger Endpoint Link
- [ADD SWAGGER ENDPOINT LINK]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
complexity: missingdraftThis issue is not fully-writtenThis issue is not fully-writtenfeature: table creationp-feature: eventsrole: back ends: CTJstakeholder: Civic Tech Jobsstakeholder: Civic Tech Jobss: VRMSstakeholder: VRMSstakeholder: VRMSs: hackforla.orgstakeholder: hackforla.org websitestakeholder: hackforla.org websites: kbstakeholder: knowledgebasestakeholder: knowledgebases: tablessize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Type
Projects
Status
🆕New Issue Review