Skip to content

Calculate summary info using triggers #184

@enriquezrene

Description

@enriquezrene

Each time a record is inserted in the time_entry table we need to perform an operation to calculate the time_entries summary.

For this, we need to follow the steps detailed above:

  1. Create a new time_entries_summary table with these fields:
  • id
  • day_date
  • worked_time_in_day
  • starting_week_day_date
  • ending_week_day_date
  • worked_time_in_week
  • starting_month_day_date
  • ending_month_day_date
  • worked_time_in_month
  1. Create a trigger to populate the information in this table

I NEED TO FINISH THIS TICKET DESCRIPTION ----

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions