commit: 4fd7aebd5e81236a5ec2956486d3228a40ac4978
parent: bc89995f6512c44a9aaa4a055116f0f00f158c24
Author: Daigo 3 Dango <zunda@users.noreply.github.com>
Date: Mon, 16 Oct 2017 08:29:49 -1000
Fix typo in a db:rollback script (#5422)
Reported at
https://don.inux39.me/@inux39/1406082
https://don.inux39.me/@inux39/1406134
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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