Fix typo in a db:rollback script (#5422)
Reported at https://don.inux39.me/@inux39/1406082 https://don.inux39.me/@inux39/1406134lolsob-rspec
parent
7603119d3a
commit
6645e8ed40
|
@ -26,7 +26,7 @@ class StatusIdsToTimestampIds < ActiveRecord::Migration[5.1]
|
||||||
SELECT setval('statuses_id_seq', (SELECT MAX(id) FROM statuses));
|
SELECT setval('statuses_id_seq', (SELECT MAX(id) FROM statuses));
|
||||||
ALTER TABLE statuses
|
ALTER TABLE statuses
|
||||||
ALTER COLUMN id
|
ALTER COLUMN id
|
||||||
SET DEFAULT nextval('statuses_id_seq');"
|
SET DEFAULT nextval('statuses_id_seq');
|
||||||
SQL
|
SQL
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue