Skip to content

Commit

Permalink
fix: try back modifying the initial migration (#452)
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
2 parents 06d1340 + 66af1d2 commit 183ad48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/20220511014018_init.up.sql
@@ -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 183ad48

Please sign in to comment.