Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
daczczcz1 committed Oct 18, 2023
1 parent bc3845f commit 3ca7bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Migrate database schema'
on:
push:
branches:
- main
- fix_migrations
paths:
- 'migrations/**'

Expand Down
5 changes: 3 additions & 2 deletions migrations/V11__add_function_for_storing_user_details.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ or replace function update_username_and_default_circle (
p_user_id uuid,
p_username text,
p_default_circle_id int
) returns void as $ $ DECLARE v_default_circle_exists boolean;
) returns void as $$
DECLARE v_default_circle_exists boolean;

BEGIN -- Update username in kpi_user table
UPDATE
Expand Down Expand Up @@ -54,4 +55,4 @@ where

end;

$ $ LANGUAGE plpgsql;
$$ LANGUAGE plpgsql;

0 comments on commit 3ca7bca

Please sign in to comment.