Skip to content

Commit

Permalink
Merge pull request #59 from WomenPlusPlus/database-clean-up-5
Browse files Browse the repository at this point in the history
V36 try again
  • Loading branch information
caracfinlay authored Oct 28, 2023
2 parents f8650aa + 4e7e0b8 commit d92ee28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions migrations/V36__add_user_to_kpi_definition.sql
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ order by
kpi_id,
ckd.circle_kpidef_id;

DROP VIEW if exists public.kpi_values_period_standardized;
CREATE VIEW
CREATE OR REPLACE VIEW
public.kpi_values_period_standardized as
select *,
Case when target_value > 0 then ROUND(cumulative_value/target_value*100, 0) else null end as target_fulfilled
Expand Down

0 comments on commit d92ee28

Please sign in to comment.