Skip to content

Update Table: event #611

@ExperimentsInHonesty

Description

@ExperimentsInHonesty

Overview

We need to update the event table model to include new fields and have the correct names for fields.

Details

Action Items

Update existing Django model

  • In the files indicated by Resource 1.01, Change the following items in the code
Current Name in code Updated Name Updated Type (may already be this type) FK Table FK Table Issue(s)
project_id project UUID #16 & #197 & #607
brigade_id org UUID #56
  • Add the following items in the code
Name Type FK Table FK Table Issue(s)
description varchar
event_type UUID eventtype #50
rrule RecurrenceField
location UUID location #44
last_generated DateTimeField
previous-version UUID event #14 & #173
ended_on Date
  • Write a test for the new relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project) if any.
  • Update API end point
  • Update API unit tests
  • generate a schema table description (see resources 1.04), post it in a comment below, and add a link to it in the Update Schema dependency issue
  • Document the endpoint in ReDocs (see resources 1.05)

FK status

Resources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📋Prioritized Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions