Skip to content

Commit

Permalink
fix: try back modifying the initial migration
Browse files Browse the repository at this point in the history
to make part of it idempotent (see if it addresses the error we see when running migrations using a different default pg user)
  • Loading branch information
patrickdevivo committed Oct 27, 2022
1 parent 06d1340 commit 66af1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/20220511014018_init.up.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SET check_function_bodies = false;
CREATE EXTENSION pgcrypto;
CREATE SCHEMA mergestat;
CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE SCHEMA IF NOT EXISTS mergestat;
CREATE FUNCTION mergestat.set_current_timestamp_updated_at() RETURNS trigger
LANGUAGE plpgsql
AS $$
Expand Down

0 comments on commit 66af1d2

Please sign in to comment.