From 2f573535916302c90d13fca73f376c346ac542ad Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Fri, 20 Oct 2023 01:50:24 +0200 Subject: [PATCH] Remove `squish` call from timestamp function setup --- db/migrate/20200704163504_use_timestamped_ids.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20200704163504_use_timestamped_ids.rb b/db/migrate/20200704163504_use_timestamped_ids.rb index eaf70732..fa52f40d 100644 --- a/db/migrate/20200704163504_use_timestamped_ids.rb +++ b/db/migrate/20200704163504_use_timestamped_ids.rb @@ -13,7 +13,7 @@ class UseTimestampedIds < ActiveRecord::Migration[5.2] def up # PL/pgSQL is just spicy pascal # don't @ me - execute <<~SQL.squish + execute <<~SQL CREATE or replace FUNCTION gen_timestamp_id(tblname text) RETURNS bigint AS $$ DECLARE timepart bigint;