From 5a26aca61b022fbd87e82522c0ccc02d52541413 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 12 Oct 2023 11:33:27 -0500 Subject: [PATCH] Update 20231009160910_add_gbl_admin.rb Reenable PG extensions in migration --- db/migrate/20231009160910_add_gbl_admin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20231009160910_add_gbl_admin.rb b/db/migrate/20231009160910_add_gbl_admin.rb index 064442b31..0c10728a8 100644 --- a/db/migrate/20231009160910_add_gbl_admin.rb +++ b/db/migrate/20231009160910_add_gbl_admin.rb @@ -1,8 +1,8 @@ class AddGblAdmin < ActiveRecord::Migration[6.1] def change # These are extensions that must be enabled in order to support this database - # enable_extension "pgcrypto" - # enable_extension "plpgsql" + enable_extension "pgcrypto" + enable_extension "plpgsql" create_function :kithe_models_friendlier_id_gen, sql_definition: <<-'SQL' CREATE OR REPLACE FUNCTION public.kithe_models_friendlier_id_gen(min_value bigint, max_value bigint)