From 803015b7f8c9315541bc481527e3b7164decf28e Mon Sep 17 00:00:00 2001 From: Jordan Brough Date: Wed, 29 Mar 2023 04:32:13 -0600 Subject: [PATCH] chore: Re-add "public" prefix to "public.gen_random_uuid()" in schema.rb (#6770) Revert unintended schema change from https://github.com/chatwoot/chatwoot/pull/5338#discussion_r957645071 --- db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 4627e3ddc..f7fa40cad 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -438,7 +438,7 @@ ActiveRecord::Schema.define(version: 2023_03_28_131926) do t.datetime "agent_last_seen_at" t.jsonb "additional_attributes", default: {} t.bigint "contact_inbox_id" - t.uuid "uuid", default: -> { "gen_random_uuid()" }, null: false + t.uuid "uuid", default: -> { "public.gen_random_uuid()" }, null: false t.string "identifier" t.datetime "last_activity_at", default: -> { "CURRENT_TIMESTAMP" }, null: false t.bigint "team_id"