Skip to content

Commit

Permalink
Merge pull request #57 from WomenPlusPlus/database-clean-up-4
Browse files Browse the repository at this point in the history
V36 try again
  • Loading branch information
caracfinlay authored Oct 28, 2023
2 parents 6261fa3 + d56a0df commit f8650aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/V36__add_user_to_kpi_definition.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ALTER TABLE public.kpi_definition
ALTER COLUMN created_by SET DEFAULT auth.uid ();

DROP VIEW if exists public.kpi_definition_with_latest_values
DROP VIEW if exists public.kpi_definition_with_latest_values;
CREATE VIEW
public.kpi_definition_with_latest_values as
select
Expand Down Expand Up @@ -70,7 +70,7 @@ order by
kpi_id,
ckd.circle_kpidef_id;

DROP VIEW if exists public.kpi_values_period_standardized
DROP VIEW if exists public.kpi_values_period_standardized;
CREATE VIEW
public.kpi_values_period_standardized as
select *,
Expand Down

0 comments on commit f8650aa

Please sign in to comment.