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

Move total_value_year fields to new table #249

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

roshan-mathewtech
Copy link
Contributor

Ticket#18

Created new table change_stats_total_values to move data in total_value_year fields data from change_stats table

run rake db:migrate to create the new table

Run the below rake task to migrate data from change_stats table to the new change_stats_total_values table
rake migrate:change_stats_total_values

This is still in progress:
ToDo

  1. Make changes in the code especially in model/habitat.rb to retrieve total_value by year from the new table
  2. Update the specs accordingly
  3. create a new migration to remove total_value_year fields from change_stats table

@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (c1c2a02) 49.34% compared to head (bd9b6de) 49.34%.

❗ Current head bd9b6de differs from pull request most recent head 627ee39. Consider uploading reports for the commit 627ee39 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #249   +/-   ##
========================================
  Coverage    49.34%   49.34%           
========================================
  Files           14       14           
  Lines          379      379           
========================================
  Hits           187      187           
  Misses         192      192           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants