mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:46:02 +01:00
Remove squish
call from timestamp function setup
This commit is contained in:
parent
0bc40cb59b
commit
2f57353591
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue