From 339cd31d762aab4069d09b9fd690d1e6964e2506 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 21 Jan 2020 12:41:20 +0000 Subject: [PATCH] DEV: Remove trailing whitespace --- db/migrate/20200121120800_correct_user_notes_count.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20200121120800_correct_user_notes_count.rb b/db/migrate/20200121120800_correct_user_notes_count.rb index db0ad7a..7400b3a 100644 --- a/db/migrate/20200121120800_correct_user_notes_count.rb +++ b/db/migrate/20200121120800_correct_user_notes_count.rb @@ -11,8 +11,8 @@ class CorrectUserNotesCount < ActiveRecord::Migration[5.2] value, created_at, updated_at - ) SELECT - REPLACE(key, 'notes:', '')::int, + ) SELECT + REPLACE(key, 'notes:', '')::int, 'user_notes_count', json_array_length(value::json), now(),