Skip to content

Commit

Permalink
fixup! 🗃️ create functions for secrets in vault
Browse files Browse the repository at this point in the history
  • Loading branch information
gozineb committed Nov 7, 2023
1 parent f3f35ee commit 02624ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/20231107104700_setup_vault.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ begin
end if;
end;
$$;

-- Insert a migration record if it doesn't exist
INSERT INTO migrations (name)
SELECT '20231107104700_setup_vault'
WHERE NOT EXISTS (
SELECT 1 FROM migrations WHERE name = '20231107104700_setup_vault'
);

-- Commit the changes
COMMIT;

0 comments on commit 02624ed

Please sign in to comment.