Remove `squish` call from timestamp function setup
This commit is contained in:
parent
0bc40cb59b
commit
2f57353591
|
@ -13,7 +13,7 @@ class UseTimestampedIds < ActiveRecord::Migration[5.2]
|
||||||
def up
|
def up
|
||||||
# PL/pgSQL is just spicy pascal
|
# PL/pgSQL is just spicy pascal
|
||||||
# don't @ me
|
# don't @ me
|
||||||
execute <<~SQL.squish
|
execute <<~SQL
|
||||||
CREATE or replace FUNCTION gen_timestamp_id(tblname text) RETURNS bigint AS $$
|
CREATE or replace FUNCTION gen_timestamp_id(tblname text) RETURNS bigint AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
timepart bigint;
|
timepart bigint;
|
||||||
|
|
Loading…
Reference in New Issue