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;