about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-10-16 21:13:47 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-10-16 21:13:47 +0200
commit8b9ee5f16bac8b53d56ac7d9974275658305803e (patch)
treee5449510dfbecd2615c9216c9a21f7dd123d7f4d /db
parent4b397adb5bfb07be587c788e6e10962aa383d25f (diff)
parent34118169ace56b31d6d4b26638fb7375171b7796 (diff)
Merge remote-tracking branch 'upstream/master' into upstream-merge-again
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170920024819_status_ids_to_timestamp_ids.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170920024819_status_ids_to_timestamp_ids.rb b/db/migrate/20170920024819_status_ids_to_timestamp_ids.rb
index 5d15817bd..c10aa2c4f 100644
--- a/db/migrate/20170920024819_status_ids_to_timestamp_ids.rb
+++ b/db/migrate/20170920024819_status_ids_to_timestamp_ids.rb
@@ -26,7 +26,7 @@ class StatusIdsToTimestampIds < ActiveRecord::Migration[5.1]
       SELECT setval('statuses_id_seq', (SELECT MAX(id) FROM statuses));
       ALTER TABLE statuses
         ALTER COLUMN id
-        SET DEFAULT nextval('statuses_id_seq');"
+        SET DEFAULT nextval('statuses_id_seq');
     SQL
   end
 end