about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorDaigo 3 Dango <zunda@users.noreply.github.com>2017-10-16 08:29:49 -1000
committerEugen Rochko <eugen@zeonfederated.com>2017-10-16 20:29:49 +0200
commit4fd7aebd5e81236a5ec2956486d3228a40ac4978 (patch)
tree91cc6d9d1e7896356b76a3638ac9c9d9b9c3a5ac /db/migrate
parentbc89995f6512c44a9aaa4a055116f0f00f158c24 (diff)
Fix typo in a db:rollback script (#5422)
Reported at
https://don.inux39.me/@inux39/1406082
https://don.inux39.me/@inux39/1406134
Diffstat (limited to 'db/migrate')
-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