Remove `squish` call from timestamp function setup

This commit is contained in:
Andreas Nedbal 2023-10-20 01:50:24 +02:00 committed by Andreas Nedbal
parent 0bc40cb59b
commit 2f57353591
1 changed files with 1 additions and 1 deletions

View File

@ -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;